When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
4 messages · Page 1 of 1 (latest)
When your question is answered use !solved to mark the question as resolved.
Remember to ask specific questions, provide necessary details, and reduce your question to its simplest form. For tips on how to ask a good question run !howto ask.
Basically I want a function that will keep looping as long as the user keeps entering the incorrect details.
While true: get input -> check if input is correct -> if correct: break
https://wandbox.org/permlink/QOuHcT6sGoa1BgzD I shared the wrong code sorry here.
#include
#include
#include
using namespace std;
class Users
{
publ