Which type of questions will be there.Is it MCQs type?
C Tutorial for beginners to learn c programming from scratch.. This tutorial site covers all topics related to c programming and explained with example programs.C TutorialC Basic Program
I am not able to understand how to do the assignment. pls explain how to use datatypes and variables correctly
Assignment program for calculating simple interest#include <stdio.h>int main(){ float principle, time, rate, SI; printf("Enter principle amount: "); scanf("%f", &principle); printf("Enter time: "); scanf("%f", &time); printf("Enter rate: "); scanf("%f", &rate); /* Calculate simple interest */ SI = (principle * time * rate) / 100; printf("Simple Interest = %f", SI); return 0;}Haripriya,ECE departmentIRTT
#include int main() { float principle, time, rate, SI; printf("Enter principle (amount): "); scanf("%f", &principle); printf("Enter time: "); scanf("%f", &time); printf("Enter rate: "); scanf("%f", &rate); SI = (principle * time * rate) / 100; printf("Simple Interest = %f", SI); return 0; }Gokulapriya Ece department irtt
hello, there I'm learning your course c and c++ in windows environment. I had repeated the program of tokens but came across a problem when I inserted "clrscr" command. when i put clr above the initialization it showed me four errors but when i put it below all the initialization the program runs but the value of float and double const was zero. could u please help me out this what was the reason of problem?.Thanks!
Why is the following code not running properly for calculation of simple interest?#include <stdio.h>int main(){float principle=10000;float rate=>2;float time=2;float SI;SI = principle*rate*time/100;printf(SI);return 0;}
663 visits
Outline:3) C and C++ରେ ଟୋକେନ୍ - ଡାଟା ଟାଇପ୍ସ, କନଷ୍ଟାଣ୍ଟସ୍, ଆଇଡେଣ୍ଟିଫାୟର୍ସ -କୀୱର୍ଡ୍ସ --ଉଦାହରଣ: if, break, else - କନଷ୍ଟାଣ୍ଟସ୍ - ଡାଟା ଟାଇପ୍ସ --ଉଦାହରଣ: int, float, char, double - ଫର୍ମାଟ୍ ସ୍ପେସିଫାୟର୍ସ --ଉଦାହରଣ: 0, 0, %c, %lf -ଡାଟା ଟାଇପ୍ସର ରେଞ୍ଜ -ଭେରିଏବଲ୍ସ -ଆଇଡେଣ୍ଟିଫାୟର୍ -ଏରର୍ସ
3) C and C++ରେ ଟୋକେନ୍ - ଡାଟା ଟାଇପ୍ସ, କନଷ୍ଟାଣ୍ଟସ୍, ଆଇଡେଣ୍ଟିଫାୟର୍ସ -କୀୱର୍ଡ୍ସ --ଉଦାହରଣ: if, break, else - କନଷ୍ଟାଣ୍ଟସ୍ - ଡାଟା ଟାଇପ୍ସ --ଉଦାହରଣ: int, float, char, double - ଫର୍ମାଟ୍ ସ୍ପେସିଫାୟର୍ସ --ଉଦାହରଣ: 0, 0, %c, %lf -ଡାଟା ଟାଇପ୍ସର ରେଞ୍ଜ -ଭେରିଏବଲ୍ସ -ଆଇଡେଣ୍ଟିଫାୟର୍ -ଏରର୍ସ
Show video info
Pre-requisite