Input on c++ | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
2 Réponses
+ 1
Hey Benjamin, here is an example of how to use c++ input #include <iostream> using namespace std; int main(){ int myNumber; cout << "Input your number"; cin >> myNumber; cout << "Your number is " << myNumber; return 0; }
20th Aug 2017, 6:39 PM
S C
0
These codes with the oppropreat direction on any system work c++ include system ("process. H") ; Into main () { Process System ("cls") ; } Return 0;
20th Aug 2017, 5:32 PM
Benjamin Rogers
Benjamin Rogers - avatar