Type a code to declare a variable x, assign it to value 6+7, and print it to the screen. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Type a code to declare a variable x, assign it to value 6+7, and print it to the screen.

int _ x=6+7; _ << x _ endl;.

26th Feb 2020, 6:05 PM
Florence Aboagye Kusi
Florence Aboagye Kusi - avatar
6 Answers
+ 3
x cout <<
7th Dec 2020, 6:09 AM
Baricog Ray-ann M.
Baricog Ray-ann M. - avatar
0
write
30th Sep 2022, 1:51 PM
bilisuma dejene
bilisuma dejene - avatar
- 1
X Cout ,
4th Aug 2021, 8:15 PM
Hamza Nuru
Hamza Nuru - avatar
- 1
int x; x=6+7; cout<< x <<endl;
17th Dec 2021, 12:23 PM
rushikesh yevale
- 2
What have you tried?
26th Feb 2020, 6:06 PM
Aymane Boukrouh
Aymane Boukrouh - avatar
- 2
Type in a code to declare an array of integers of size 4: in c The solution is this, please
6th Dec 2020, 12:37 PM
Abdelmoula Ezzaouia
Abdelmoula Ezzaouia - avatar