What is missing? :( | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
0

What is missing? :(

Cheer Creator Challenge C++

4th Feb 2020, 9:58 AM
Ragnar Mxyzptlk
Ragnar Mxyzptlk - avatar
3 Réponses
+ 1
#include <iostream> using namespace std; int main() { signed int yard; cin >> yard; switch (yard) { case 0: cout << "shh"; break; case 1 ... 10: for (int i = 0; i < yard; i++) { cout << "Ra!"; } break; default: cout << "High Five"; break; } return 0; }
4th Feb 2020, 9:59 AM
Ragnar Mxyzptlk
Ragnar Mxyzptlk - avatar
+ 1
I cant pass the fith test and cant figure out why :/
4th Feb 2020, 9:59 AM
Ragnar Mxyzptlk
Ragnar Mxyzptlk - avatar
+ 1
Can one throw backwards?
4th Feb 2020, 10:13 AM
Oma Falk
Oma Falk - avatar