Help? | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
- 1

Help?

Write a C++ statement that displays the message "Average" on the screen, followed by the contents of the Average variable. The statement should then advance the cursor to the next line on the screen. Anyone know how to do this one?

19th Oct 2017, 12:27 AM
itsTommee
itsTommee - avatar
1 Réponse
+ 14
🤔 int average = 6; std::cout << "Average : " << average << std::endl;
19th Oct 2017, 1:43 AM
Hatsy Rei
Hatsy Rei - avatar