Skip to content
#

while-loop

Here are 22 public repositories matching this topic...

This is a simple number guessing game implemented in C++. Program generates a random number between 1-100 and asks the user to guess the number. After each guess, program provides feedback (higher or lower) to help user guess the correct number. Once the user guesses the correct number, the program displays the number of attempts took to guess it.

  • Updated Jul 27, 2023
  • C++

This C++ program demonstrates using while loops to handle user input, calculate and display odd and even numbers, and their sums within specified ranges. It also outputs squares of numbers and uppercase letters, providing a practical example of basic programming concepts.

  • Updated May 14, 2024
  • C++

Improve this page

Add a description, image, and links to the while-loop topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the while-loop topic, visit your repo's landing page and select "manage topics."

Learn more