Author

Topic: who knows DEV C++ (Read 235 times)

legendary
Activity: 1778
Merit: 1009
Degen in the Space
August 10, 2017, 06:56:23 AM
#4
search the material in the internet and you tube.

That's wrong, use youtube for tutorials

Thanks a lot! im just a begineer thanks for your help. Now i will search it on youtube, ill find the right code on it. I dont know when i will use getche or getchar.
newbie
Activity: 6
Merit: 0
August 10, 2017, 03:17:50 AM
#3
search the material in the internet and you tube.
sr. member
Activity: 344
Merit: 257
EndChain - Complete Logistical Solution
August 10, 2017, 03:03:49 AM
#2
That's wrong, use youtube for tutorials
legendary
Activity: 1778
Merit: 1009
Degen in the Space
August 10, 2017, 02:14:37 AM
#1
im just a beginner in dev c++, please check my codes if correct.

__________________________________________
#include
/* Calculation of total resistance */
main()
{
   float a, b;
   printf("Enter the resistance value of R1 in ohm:");
   scanf("%f", &a);
   printf("Enter the resistance value of R2 in ohm:");
   scanf("%f", &b);
   printf("The Total Resistance of R1 and R2 connected in series is %f ohm", "a+b");
   
   getchar();
   return 0;
}
__________________________________________

the only sentence that appear is --> Enter the resistance value of R1 in ohm:

photo: dev c++
Jump to: