It's a simple problem focusing on I/O. Continuously take input from user until it reads the number 42 and print the numbers. Problem Tag: #basic #tutorial #ad-hoc-1 */
| 5 | Problem Tag: #basic #tutorial #ad-hoc-1 |
| 6 | */ |
| 7 | int main() |
| 8 | { |
| 9 | int s; |
| 10 | cin>>s; |
| 11 | while(s!=42) |
| 12 | { |
| 13 | cout<<s<<endl; |
| 14 | cin>>s; |
| 15 | } |
| 16 | |
| 17 | return 0; |
| 18 | } |
nothing calls this directly
no outgoing calls
no test coverage detected