We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Do not copy this, try yourself. this is only for idea purpose. i added this in pdf and word format both.

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 3248

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Attachments:

Replies to This Discussion

CS201 Introduction to Programming Assignment Solution Fall 2013

Due Date:  25-11-2013

Solved By:    Lion

#include <iostream.h>

main()

{

double f_temp, k_temp, c_temp, temp;

char ch, quit;

 

cout " *********** Temprature Conversion Calculator **************";

cout "\n\n Please enter the temprature unit for which you want the coverison ";

cout "\n 1. F for Fahrenheit to Celcius and Kalvin";

cout "\n 2. C for Celsius to Fahrenheit and Kalvin";

cout "\n 3. K for Kalvin to Fahrenheit and Celcius";

startagain:

 

cout "\n\n Please enter you choice: ";

cin >> ch;

    

     switch(ch)

     {          

     case 'f':

     case 'F':             

            cout " Please enter temprature in Farhenheit: ";

            cin >> f_temp;

            c_temp = (f_temp  -  32)  *  5/9;

            k_temp = (f_temp + 459.67) * 5/9;  

            cout " Celcius =" c_temp;

            cout "\n Kelvin =" k_temp;

            cout "\n Do you want to calculate another value (y/n): ";

            cin >> quit;

            if (quit == 'y' || quit == 'Y')

            goto startagain;

            break;

           

     case 'c':

     case 'C':             

            cout " Please enter temprature in Celcius: ";

            cin >> c_temp;

            k_temp = c_temp + 273.15 ;

            f_temp = c_temp  *  9/5 + 32;  

            cout " Kelvin =" k_temp;

            cout "\n Farhenheit =" f_temp;

            cout "\n Do you want to calculate another value (y/n): ";

            cin >> quit;

            if (quit == 'y' || quit == 'Y')

            goto startagain;

            break;

           

     case 'k':

     case 'K':           

            cout " Please enter temprature in Kelvin: ";

            cin >> k_temp;

            c_temp = k_temp - 273.15 ;

            f_temp = (k_temp - 273.14)  * 9/5 + 32; 

            cout " Celcius =" c_temp;

            cout "\n Farhenheit =" f_temp;

            cout "\n Do you want to calcute another value (y/n): ";

            cin >> quit;

            if (quit == 'y' || quit == 'Y')

            goto startagain;

            break;

           

     default:

            cout "\n Invalid Choice";            

     }

cout endlendl;

system("pause");   

}

 

 

To learn programming watch others listen others and practice yourself. Remember these golden words.

 

“I hear I forget, I do I learn”    Unknown.

 

 

 

 

 

 

13 error show ho rahy hain es statement main kindly zra thori c rehnumai ker dain . . . . . . . . . 

thanks

cout k baad (cout) nahi lgay hoay

yes dear, Less than signs do not show when code is paste here...

so, these errors r occur due to missing the less than signs.

its better to all  of u download .cpp file which is given above.

yes eman, i am also telling that copy .cpp file

cout k bad 10 error show ho rhy hain 

let check ur errors here in pic format.

Lion thanks for sharing your idea.keep it up 

But Lion & 

Dear Fellows,

All of you are requested, Please post Only One Discussion For Current Assignment/GDB/Online Quiz and everyone reply/share/discussed his/her data on that same discussion, so that all members get solution & discuss easily on Current Assignment/GDB/Online Quiz.

So please don’t post two or more discussions for one Current Assignment/GDB/Online Quiz, hope you’ll understand and cooperate with us.

Already started discussion for the same assignment link is 

http://vustudents.ning.com/group/cs201introductiontoprogramming/for...

thanks for understanding 

Ok sir.

ktne intelligent log hen yaha, sbko assignment submit krwane ki pari he, discussion koi ni kerta bs jaldi se copy paste mar k thora bht change ker k submit kerwai ja rae hen, fer kehte hen univeristy theak ni he, 

RSS

Latest Activity

+ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
32 minutes ago
+ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
35 minutes ago
+ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
38 minutes ago
+ ! ! ! ! ! ! ! ! ! ! ! ! ! ! ! replied to + "αяsαℓ " Ќąƶµяɨ •"'s discussion Happy Marriage to "Zee" & " Nomi weds Noor"....!
38 minutes ago
+ "αяsαℓ " Ќąƶµяɨ •" posted a discussion
48 minutes ago
Aijaz khan updated their profile
1 hour ago
Aijaz khan added a discussion to the group CS605 Software Engineering-II
1 hour ago
Aijaz khan joined + M.Tariq Malik's group
1 hour ago
Ikra butt added a discussion to the group CS411 Visual Programming
1 hour ago
Ikra butt joined + M.Tariq Malik's group
1 hour ago
+ ՏhehαrZααD + replied to + ՏhehαrZααD +'s discussion Assalamu Alaikum
1 hour ago
Kashif Iqbal added a discussion to the group FIN624 Islamic Mode of Financing
1 hour ago
Kashif Iqbal joined + M.Tariq Malik's group
1 hour ago
Kashif Iqbal posted a discussion
1 hour ago
+ ! ! ! ! ! ! ! ! ! AG liked UMER UMER's discussion online earing
2 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked +¢αяєℓєѕѕ gιяℓ's discussion چاۓ
2 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked UMER UMER's discussion Modern Era and Our Obligations on Our Loved Ones
2 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked Muhammad Ishtiaq's discussion Past Papers
2 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked Syeda's discussion MTH601 - Operations Research solved....
2 hours ago
+ ! ! ! ! ! ! ! ! ! AG liked ٢ دن's discussion زندگی گزارنے کا فارمولا
2 hours ago

© 2019   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service