Tokens - English-USA
- subtitles off
- captions off
- English
- English-USA
- Questions posted on Forums
- C and Cpp Tutorials - English-USA
-
About questions
Which type of questions will be there.Is it MCQs type?
02-03M 10-20S unanswered saniyanadaf1333@gmail.com
Question posted on: Jan. 7, 2020, 10:38 p.m.
-
C Tutorial resoures
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
00-01M 0-10S unanswered s_kumar93
Question posted on: July 30, 2017, 4:16 p.m.
-
i am not able to understand how to do the assignment
I am not able to understand how to do the assignment. pls explain how to use datatypes and variables correctly
12-13M 0-10S Abhinav214
Answer last updated on: Nov. 13, 2024, 2:58 p.m.
-
Assignment
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
01-02M 10-20S Harisj
Answer last updated on: Aug. 20, 2024, 7:28 p.m.
-
Simple intrest
#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
06-07M 40-50S gokulapriya1804@gmail.com
Answer last updated on: Aug. 19, 2024, 2:34 p.m.
-
Having different outputs of the same program
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!
01-02M 10-20S swastimahaveerramseth
Answer last updated on: Aug. 17, 2021, 4:39 p.m.
-
Regarding Assignment
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;}
13-14M 50-60S bsscharan
Answer last updated on: July 25, 2021, 7:19 a.m.
Questions posted on ST Forums:
5248 visits
Outline:
Tokens in C and C++ -Data types, constants, identifiers -Keywords --example: if, break, else -Constants -Data types --example: int, float, char, double -Format specifiers --example: 0, 0, %c, %lf -Range of data types -Variables -Identifier -Errors
Width: | 864 | Height: | 720 |
---|---|---|---|
Duration: | 00:13:41 | Size: | 8.5 MB |
Show video info