hi guys, i am a beginner in c++ and taking an online class. malai euta assignment garnaiaayena. if there is any C++ gurus, please help me. Here is the assignment. Generat the cout message first using 'if' statement and again using switch/case statement. determine the name of the day of the week it is from the day number provided by user. use the matching message from the list below. the following message should be displayed based on value entered. Sunday and Saturday display "Fun time" Friday displays " Study" Monday and Wednesday display "Class" Tuesday and thursday display " Work " consider 1 as Sunday, 2 Monday and so on. any other value outside 1-7 display bad day. please help me guys. thanks
iamunknown · Sep 17, 2010 12:48 PM · 458 views
Dear Unknown: It is beginning of your class and if you go through your book you will get some idea about it. Read my Lines: if you do not work hard in the beginning you will be lacking and always running behind. I took C++ class and it was kind hard but I got throuhg it and my 75 years old professor gave me A- in whole grade. PLEASE: Try it yourself and it is in the book and you can do it. All sajha user: Please let this guy do his first homework by him/herself so he will be an achiever and independent.
Bhojpure01 · Sep 17, 2010 1:09 PM
bhojure sir, thnks for the reply. i tired many times to do it. i read books many times as well. since this is online class i am having hard time to figure this out. and there is no tutoring for c++ either in my school. so if there is any one who can help me, please help me.
iamunknown · Sep 17, 2010 1:25 PM
http://www.cprogramming.com/tu... http://www.intap.net/~drw/cpp/...
serial · Sep 17, 2010 1:48 PM
If{ x=1 cout<<" Fun Day "; } if { x=2; cout<<"class"; and so on esto sajilo logic pani tha chaina bhaye C++ nagare huncha sathi. Also maile yo course gareko 1 year bhaisakyo so birsisake so cant write the full program sorry
nepguy1 · Sep 17, 2010 2:21 PM
If(x = = 1) { cout<<" Fun Day "; } else if (x = = 2 ) { cout<<"class"; }
serial · Sep 17, 2010 2:24 PM
This conversation is preserved exactly as it was on the original Sajha.com and can't accept new replies.
Start a New Discussion