Codes and Output | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Codes and Output

Can anyone tell me the codes of this problem and the output.... Declare a and b. Initialise a = 10 and b = 3. Declare c and b without initial value. Use cin>> to input the value of c and d. Assign the value of a to c and b to d... Print the value of c and b..

22nd Jul 2017, 4:59 AM
Lord_of_Sloth
Lord_of_Sloth - avatar
6 Answers
+ 7
write the program in code playground and the program will tell you the values. hint. what does the user enter?
23rd Jul 2017, 9:57 AM
jay
jay - avatar
+ 6
Keep going with the course here! You can do this problem very easily I will get you started int a, b; // declare a and b a = 10; // initialise a with 10
22nd Jul 2017, 5:03 AM
jay
jay - avatar
0
I already did that but my teacher didn't tell me the output.....I'm confuse whether output of c and b should be 10 and 3.
23rd Jul 2017, 9:55 AM
Lord_of_Sloth
Lord_of_Sloth - avatar
0
the value of c and d.
23rd Jul 2017, 10:12 AM
Lord_of_Sloth
Lord_of_Sloth - avatar
0
please, can anybody tell me the codes or even just the accurate output of this problem?
23rd Jul 2017, 12:14 PM
Lord_of_Sloth
Lord_of_Sloth - avatar
0
please, can anybody tell me the codes or even just the accurate output of this problem?
24th Jul 2017, 2:55 PM
Lord_of_Sloth
Lord_of_Sloth - avatar