Write a program that does the following: - Asks the user for an integer value and save it in a variable. I will call thi
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
Write a program that does the following: - Asks the user for an integer value and save it in a variable. I will call thi
Write a program that does the following: - Asks the user for an integer value and save it in a variable. I will call this variable lucky in the prompt from here on out. - While lucky is not equal to 7 do the following: - If it is less than 7 say: "You need bigger numbers" "If it is greater than 7 say: "Way to big" - After this ask the user for another integer and save it again as the variable lucky.
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!