Welcome | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Welcome

// Please enter your birthday in this // format(including spaces): // DD MM YYYY // 22 01 1997 // I think that I have covered all possible // wrong inputs (17 by now)! // Please let me know if you find any other // bugs or wrong inputs that I haven't covered. // Thank you all for your support. // And if you liked it don't forget to give // a (+1) like. // Thank you all for the likes!!! // This code has won in the "The Greatest // Sololearn Coder Competition v3.0" // in the 'LightWeight' category. // By @ Michael Xanthopoulos #include <iostream> using namespace std; int main(void) { int DD = 32, MM = 13, YYYY = -1, NYYYY, NMM, IDAY, day, flag = 0; string month[] = {"January","February","March","April","May","Jun "August","September","October","November","December"}; cin //Error Message: User has given no input if(DD == 32 &&

11th Aug 2022, 12:40 PM
عمر رحلي
عمر رحلي - avatar
2 Answers
+ 1
looks like the code gets cut off at the end, try to link it from the code playground
11th Aug 2022, 3:43 PM
Apollo-Roboto
Apollo-Roboto - avatar
+ 6
What is your question?
11th Aug 2022, 1:06 PM
Lisa
Lisa - avatar