write a program to input two numbers m and n and display first multiples of n | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

write a program to input two numbers m and n and display first multiples of n

27th Jan 2018, 5:36 PM
Jan Back
3 Réponses
+ 1
it is simple int m,n; cin >> m >> n; for (int i=1; i<=m; i++) cout << m*n << endl;
28th Jan 2018, 11:13 AM
michal
0
And for C?
9th Aug 2019, 7:36 PM
Mohamed Ashik Badusha
Mohamed Ashik Badusha - avatar
0
Áshík see the lessons on scanf and printf to see how to do I/O in C
11th Aug 2019, 7:00 PM
michal