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: 3271

.

+ 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

salam bro 

main ne uper wali assignment chek ki hy mujhy 13 errors show ho rahy hain unko dur krny main meri rahnumai kren plz

thanxzzzz M.TARIQ MALIK share urz ideaz. very hipful

AP ka milaya howa number is waqt band ha ap se darkhwast ha k thori dair bad koshish kare shukriya..

shakeel me .cpp file upload kerta hun us me error ni hun ge, lekin us se idea le k apni banane ki koshish kerna

word ya pdf k file me error ho skta he, usne fonts ki wja se, try .cpp file. uper discussion me add kerdi he mene wo b.

hi every one. koi combine study krna chaye cs201 ki to plz tell me 

ap kahan rhti ha i want to study plz 

yes

yes, due to missing less than signs ..it shows error.

Coz, here do not show less than signs which have after cout.

bhai mane is ma se 7 mistake thk kar li ha baki mje samjh nae a rae

waqas asghar .cpp ki file use karo us me error ni hen, es meri post me rakhi he mene  wo file

Lets Try this one

#include<iostream>
using namespace std;
main()
{
cout"**************Temperature Conversion Calculator*****************";
cout"\nby Sohail SNS ";
cout"\nPlease enter the tempearature unit which you want the conversion\n";
cout"1. F for fahrnheit to celsius and Kelvin\n";
cout"2. C for celsius to fahrenheit and kelvin\n";
cout"3. K for kelvin to celsius and kelvin\n";
char type,rp;
do //for loop we use do while
{
cout" please enter the option:";
cin>>type; //input the temp scale
switch(type) //for different selectionn
{ case'f': //for fahrenheit
case'F':
cout" Enter the temperature in Fahreheit:";
float a1,c1,b1;
cin>>a1; //input the temp in f
c1=(a1-32)*0.55;//formula f to c
cout"\n The temperature in celsius is="c1; //temp conversion to c
b1=(a1+459.67)*0.55;//formula f to k
cout"\nThe temperature in kelvin is="b1; // temp conversion to k
break;
case'C': //for centigrade
case'c':
cout" Enter the temperature in celsius:";
float c2,a2,b2;
cin>>c2; //input the temp in c
a2=c2*1.8+32;// formula c to f
cout"\n The temperature in fahreheit is="a2; //temp conversion to f
b2=c2+273.15;//formula c to k
cout"\n The temperature in kelvin is="b2; //temp conversion to k
break;
case'K': //for kelvin
case'k':
float b3,c3,a3;
cout" Enter the temperature in kelvin:";
cin>>b3; //input the temp in k
c3=b3-273.15;//formula k to c
cout"\n The temperature in celsius is="c3; //temp conversion to c
a3=(1.8*b3)-459.67;//formula k to f
cout"\n The temperature in fahrenheit is ="a3; //temp conversion to f
break;
default:
cout" please enter the right option:"; //for wrong output
}

cout"\n Do you want to continue (y/n):";

cin>>rp; //for continue
if(rp=='n') //for exit

{ return 0;
}
}
while(rp=='y'); //for loop
system ("pause");
}

RSS

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

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

.