Question: C++ Program Read in a single integer from cin. If it is 7, output Lucky. If it is not 7, output nothing. Code: #include using
C++ Program
Read in a single integer from cin. If it is 7, output "Lucky". If it is not 7, output nothing.
Code:
#include
int main() { //Your code }
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
