Area of Rectangular float length, width, area; printf("Enter your Length and Width"); scanf("%f%f",&length,&width); area=length*width; printf("your area is : %f", area); Enter your Length and Width 25 10 your area is : 250.000000
1)Division Output: Enter the number:90 Enter the number:3 Div result is:30 2)area calculation Output: Length:23.8 Width:11.7 Area of values:278.459991 3)swap without temp Printf("a:%d b:%d",b,a);😅 🎉
bro its vety useful each and every program am practice and i got the output....I watched many more vedios before this vedio..but this is the best vedio..thanks a lott
Area of rectangle #include #include int main(void) { float length,width,area; setbuf(stdout,NULL); printf("enter the numbers"); scanf("%f%f",&length,&width); area = length * width; printf("Area of Rectangle: %f",area); return EXIT_SUCCESS; }
include int main() { float num1,num2,divide; printf("enter a two numbers"); scanf("%f%f",&num1,&num2); divide=num1/num2; printf("divide is:%f",divide); return 0; }
1) #include int main(void) { int num1,num2; float Result; printf("Lets perform the funtion division "); printf("The number on the numerator : "); scanf("%d",&num1); printf("The number on the denominator : "); scanf("%d",&num2); Result=num1/num2; printf("The division of two numbers %f",Result); return 0; } 2) #include int main(void) { float length,breadth,area; printf("Lets find out the area of the rectangle "); printf("The length of the rectangle : "); scanf("%f",&length); printf("The breadth of the rectangle : "); scanf("%f",&breadth); area=length*breadth; printf("The area of the rectangle is %f",area); return 0; } 3) #include int main(void) { int a=20; int b=30; printf("we intialised a and b as 20 and 30 respectively "); printf("Lets perfom the swapping function with temp variable "); a=a+b; b=a-b; a=a-b; printf(" The value of integer a after swapping is %d ",a); printf(" The value of integer b after swapping is %d ",b); return 0; }
Division #include #include int main(void) { int Num1,Num2; float Division; setbuf(stdout,NULL); printf("Enter 2 Numbers :"); scanf("%d%d",&Num1,&Num2); Division = Num1 / Num2; printf("Result is %f" ,Division); return EXIT_SUCCESS; } The process is while dividing 2 integers the answer will also be an integer. If 10/50= 0.2 then the answer will be in integer form 0 After applying float datatype the answer becomes 0.00000
Swapping without using temp { int a, b, d; Printf("enter a 2 value"); scanf("%d%d", &a&b); d=a; a=b; b=d; printf("a:%d b:%d", a, b); return EXIT_SUCCESS;} Output: Enter a 2 value 5 8 a:8 b:5
// Accept two numbers from the user and perform division. #include int main(void) { int Num1,Num2; float Result; printf("Enter Num1:"); scanf("%d",&Num1); printf("Enter Num2:"); scanf("%d",&Num2); Result=(Num1/Num2); printf("Result is:%f",Result); return 0; } // Accept length and width of rectangle from the user and calculate area. #include int main(void) { float length,width,area; printf("enter the length of the rectangle:"); scanf("%f",&length); printf("enter the width of the rectangle:"); scanf("%f",&width); area=length*width; printf("the area of rectangle is:%f",area); return 0; } // program to swap two number without using temp variable. #include int main(void) { int a,b; printf("enter the value of the a:"); scanf("%d",&a); printf("enter the value of the b:"); scanf("%d",&b); a=a+b; b=a-b; a=a-b; printf("After swapped : a=%d b=%d",a,b); return 0; }
#include #include int main(void) { setbuf(stdout,NULL); float lengthnum,widthnum,area; printf("enter lengthnum and widthnum"); scanf("%f%f",&lengthnum,&widthnum); area=lengthnum*widthnum; printf("the area of triangle is :%f",area); return EXIT_SUCCESS; }
int main() { float length,width,area; { printf("enter the length number "); scanf("%f", &length); printf("enter the width number "); scanf("%f", &width); area=length*width; printf("the area of rectangle %f ",area ); } result enter the length number 10 enter the width number 2 the area of rectangle 20.000000
1) int main(void) { float num 1, num 2, result; printf("Enter 2 Numbers"); scanf("%f%f",&num1,&num2); result=num1/num2; printf("Your result is : %f",result); return EXIT_SUCCESS; }
1)#include #include int main(void){ int num1,num2; float result; printf("Enter first number:");/*Getting first number as input from user*/ scanf("%d",&num1); printf("Enter Second number:");/*Getting second number as input*/ scanf("%d",&num2); result=num1/num2; printf("The result of division is: %f ", result); }
unga problem screenshot eduthu namma telgram channel la kelunga brother namma tech team ungla support pannuvanga , telgram groupla join panradhukaana registration link description la irukku
1.Accept two numbers from the user and perform division (Result in Float) #include #include int main(void) { float number1,number2,division; printf("Enter 2 Numbers"); scanf("%f%f",&number1,&number2); division=number1/number2; printf("result is : %f",division); return EXIT_SUCCESS; } Output: Enter 2 Numbers20 3 result is : 6.666667 2.Accept the length and width of a rectangular from the user as input and calculate the area of the rectangular. #include #include int main(void) { float length,width,area; printf("Enter length,width"); scanf("%f%f",&length,&width); area=length*width; printf("result is : %f",area); return EXIT_SUCCESS; } Output: Enter length,width4.8 2.3 result is : 11.040000 3.Swapping two variables without temp #include #include int main(void) { int a,b; printf("Enter a"); scanf("%d",&a); printf("Enter b"); scanf("%d",&b); a=a+b; b=a-b; a=a-b; printf("a : %d",a); printf("b : %d",b); return EXIT_SUCCESS; } Output: Enter a20 Enter b60 a : 60b : 20 Thank you 🈲
Length and width are integers number we can use int, but length and width also have floating point(like length=3.5, width=11.8). So we can only use float. This program length and width are float, so we use float. Thanks for asking your question 😊
Actually naa oru web sites create pannum bro. Antha reason kaaga thaa youtube search pannittu erunthen. But, unga vedios paathathum, ivlo thaa codings ha nu feel aaguthu. Avlo easy and simple method la expline pannuringa
Just now started 100k Coding Challenge my Day 1 Assignment is here //swapping 2 values without temp #include void main(){ int a=10,b=20; printf("Before Swap "); printf("value of a %d ",a); printf("value of b %d ",b); a=a+b; b=a-b; a=a-b; printf(" After Swap"); printf(" value of a %d ",a); printf("value of b %d ",b); } //Division Program #include void main(){ int a,b,divide; printf("Enter Value for A : "); scanf("%d",&a); printf("Enter Value for B : "); scanf("%d",&b); divide=a/b; printf("Divided value is %d ",divide); } //Area of rectangle #include void main() { float length,width,area; printf("Program to Calculate Area_of_the_Rectangle "); printf("Enter value for Length :"); scanf("%f", &length); printf(" Enter value for Width :"); scanf("%f", &width); area = length * width; printf("Area of the Rectangle based on your input is %f ",area); }
@@brototypetamilFor windows OS Put this command after Variable declaration setbuf(stdout,NULL); Press the stop 🛑 button in the left side top corner 2,3 times then Save Build Run It works!!!
bro in this i encountered an issue with the scanf function while i entered a scanf function it shows nothing in my console after i entered a value like 20 the output was like 20 enter a numberyou entered 20 but if i removed it shows the out put properly
Assignment Answers 1.#include int main() { float Num1,Num2,Result; printf("Enter Two Numbers:"); scanf("%f%f",&Num1,&Num2); Result=Num1/Num2; printf("Result is %f",Num1,Num2); return 0; } O/p Enter Two Numbers:5 5 Result is 5.000000 2.#include int main() { float length,width,area; printf("Enter length and width values:"); scanf("%f%f",&length,&width); area=length*width; printf("the area is:%f",area); return 0; } O/p Enter length and width values:5 5 the area is:25.000000 3.#include int main() { int a=10,b=20; printf("a:%d,b:%d",b,a); return 0; } O/p a:20,b:10
Input practical program la 18th and 19th line la error varuthu AND Output window la blank screen ah irukkuthu but number enter panna mudium aprom ENTER button click pannuna two PRINTF statement um same line la print aairuthu ANY ONE SOLUTION SOLLUNGA GUYS
I started to by using sample program Hello world program build was success and o/p came, but while using scanf function for input function build got failed I dont know why... I stuck on this cant move.. pls help what is the problem .................
neenga face panra problem namma screenshot eduthu namma telegram groupla kelunga namma tech team ungalukku full support tharuvanga , telegram la join pnradhukana registration link description la irukku
neenga face panra technical problem solve panna, namma description la irukkra registration link la register panna namma tech support telegram group la add aveeenga adhula keta podhum help pannuvanga
Division int num1,num2; float division; printf("Enter 2 numbers :"); scanf("%d%d",&num1,&num2); division=num1/num2; printf("your result is : %f",division); Enter 2 numbers: 10 2 your result is : 5.000000
int main() { int bigno,smlno,sum; printf("enter 1 st no. is bigger 2 nd no. is small: "); scanf("%d%d",&bigno,&smlno); sum=bigno/smlno; printf("you ented value %d",sum); return 0; }
Bro, i have filled the details in the link you have shared for the telegram group. But i havent got any link to join the group. Im just starting with your classes. There is 0 error, 0 warning. but no output is shown in the console while running the program. Please help.
bro, i facing some issue in my console o/p, after run as administrator console screen is empty then i am typing 10 it showing as : Enter a numberyou have entered 10
unga problem screenshot eduthu namma telgram channel la kelunga brother namma tech team ungla support pannuvanga , telgram groupla join panradhukaana registration link description la irukku
Hiii bro here my program to swap two numbers without using temp variable. #include #include Void main() { Int a=77,b=75; a=b; b=77; Printf("a:%d b:%d",a,b); Printf(" !!! thank you bro!!!"); Printf(" !!!coding is fun!!!"): getch(); }
Bro neenga sonna mari na already mbbs ennoda goal set panni athu ku prepare panni neet exam ippo eluthiruka but ennaku kedaikathu lite ah theriyuthu atha nala tha na engineering pakom polanu coding kathu ka vanthen
thankyou so much brother i am starting from tdy... let me start my journey🔥🔥
1)#include
main(void){;
float number1,number2,result;
printf("enter 2 number");
scanf("%f%f",&number1,&number2);
result=(number1/number2);
printf("final result %f",result);
}
Thank you so much sir.....this is my first time that i wrote coding myself even if i completed BCA......after 7 years....i am over the moon......
Area of Rectangular
float length, width, area;
printf("Enter your Length and Width");
scanf("%f%f",&length,&width);
area=length*width;
printf("your area is : %f", area);
Enter your Length and Width 25
10
your area is : 250.000000
int main(void)
{
float lengthnumber,widthnumber,area;
printf("Enter the length and width");
scanf("%f%f",&lengthnumber,&widthnumber);
area=lengthnumber*widthnumber;
printf("Result :%f",area);
return 0;
}
Simple program podave neriya mistake viduran but finally i complete it
include
main(void){;
float length,width,area;
printf("length,width");
scanf("%f%f",&length,&width);
area=length*width;
printf("final result : %f",area);}
awesome explanation bro i got clear coding knowledge bro.
1)Division
Output:
Enter the number:90
Enter the number:3
Div result is:30
2)area calculation
Output:
Length:23.8
Width:11.7
Area of values:278.459991
3)swap without temp
Printf("a:%d b:%d",b,a);😅
🎉
Lengend 🥶
Yaru saami nee😳
It's not permanent swap just Temporary 😅
Getting inspire with ur words 🌋
bro its vety useful each and every program am practice and i got the output....I watched many more vedios before this vedio..but this is the best vedio..thanks a lott
All the best , keep supporting
Area of rectangle
#include
#include
int main(void) {
float length,width,area;
setbuf(stdout,NULL);
printf("enter the numbers");
scanf("%f%f",&length,&width);
area = length * width;
printf("Area of Rectangle: %f",area);
return EXIT_SUCCESS;
}
❤🎉This is very valuable series.
Hi,I am just enjoying this coding channel and I have a doubt why we are using a eclipse ide ? we can use turbo c++ ?
another method swapping:
Int a=30,b=20;
Printf("a:%d b:%d" ,b, a);
Output👇
a:20 b:30
We can swap and print by this method but we cannot use it for another purpose like doing operations
In this swap method is just Temporary not permanent We can't use another place
include
int main() {
float num1,num2,divide;
printf("enter a two numbers");
scanf("%f%f",&num1,&num2);
divide=num1/num2;
printf("divide is:%f",divide);
return 0;
}
Very clear explanation bro 😍
int main(void)
{
int a=10,b=20;
printf("a %d b %d",b,a);
return 0;
}
1.Division
#include
#include
int main(void) {
int num1,num2,Result;
printf("Enter 2 numbers");
scanf("%d%d",&num1,&num2);
Result=num1/num2;
printf("division :%f",Result);
return EXIT_SUCCESS;
}
2.Rectangle
#include
#include
#include
int main(void) {
int length,width,area;
printf("enter length and width");
scanf("%f%f",&length,&width);
area=length * width;
printf("area of rectangular:%f",area);
return EXIT_SUCCESS;
}
3.Swap
#include
#include
int main(void) {
int c=35,f=45,e;
e=c;
c=f;
f=e;
printf("c:%d f:%d
",c,f);
return 0;
}
Ithula int nu data type kuduthutu aprm ye %f kuduthuirkinga
@@kdzcreations744 naa float kudukkama mathi int nu kuduthutan ..
Thank you sir Nan assignment la iruka 3 um poten sir nana swap ku user ta irrunthu value vangi swap pannen sir tq sir
int main(void) {
float number1,number2,result;
printf("enter 2 number");
scanf("%f%f",&number1,&number2);
result=number1+number2;
printf("result is: %f",result);
return EXIT_SUCCESS;
}
Length 10,width 2.2
float length, width , area ;
Printf("Enter length,width");
Scanf("%f%f" ,& length,& width);
area= (length*width);
Printf("your ans is : %f ",area);
And 22.000❤
Swap
a= 10
b=20
Code
Int a=10,b=20;
Printf("a:%d b:%d , b,a);
Ans b= 10 ,a=20
#include
int main(void) {
float lenth,width,area,result;
printf("Enter Number");
scanf("%f",&lenth);
printf("Entet Number");
scanf("%f",&width);
printf("Enter Number");
scanf("%f",&area);
result=lenth*width*area;
printf("Result is %f",result);
return 0;
}
Thanks brooo 😊😊😊
Assignment completed successfully
1)
#include
int main(void)
{
int num1,num2;
float Result;
printf("Lets perform the funtion division
");
printf("The number on the numerator : ");
scanf("%d",&num1);
printf("The number on the denominator : ");
scanf("%d",&num2);
Result=num1/num2;
printf("The division of two numbers %f",Result);
return 0;
}
2)
#include
int main(void)
{
float length,breadth,area;
printf("Lets find out the area of the rectangle
");
printf("The length of the rectangle : ");
scanf("%f",&length);
printf("The breadth of the rectangle : ");
scanf("%f",&breadth);
area=length*breadth;
printf("The area of the rectangle is %f",area);
return 0;
}
3)
#include
int main(void)
{
int a=20;
int b=30;
printf("we intialised a and b as 20 and 30 respectively
");
printf("Lets perfom the swapping function with temp variable
");
a=a+b;
b=a-b;
a=a-b;
printf(" The value of integer a after swapping is %d
",a);
printf(" The value of integer b after swapping is %d
",b);
return 0;
}
today class well sir❤
Bro java ku innum video podunga bro
Fime time watch your channel
int main()
{
float num1,num2,division;
printf("Enter 2 number");
scanf("%f%f",&num1,&num2);
division=num1/num2;
printf("result is %f",division);
}
Please make a video for java bro
part 7 le irunthu Java than bro
Daily Tips ❤🔥
Really thankfull to you bro❤
Division
#include
#include
int main(void) {
int Num1,Num2;
float Division;
setbuf(stdout,NULL);
printf("Enter 2 Numbers :");
scanf("%d%d",&Num1,&Num2);
Division = Num1 / Num2;
printf("Result is %f" ,Division);
return EXIT_SUCCESS;
}
The process is while dividing 2 integers the answer will also be an integer.
If 10/50= 0.2 then the answer will be in integer form 0
After applying float datatype the answer becomes 0.00000
Swapping without using temp
{ int a, b, d;
Printf("enter a 2 value");
scanf("%d%d", &a&b);
d=a;
a=b;
b=d;
printf("a:%d b:%d", a, b);
return EXIT_SUCCESS;}
Output:
Enter a 2 value 5
8
a:8 b:5
// Accept two numbers from the user and perform division.
#include
int main(void) {
int Num1,Num2;
float Result;
printf("Enter Num1:");
scanf("%d",&Num1);
printf("Enter Num2:");
scanf("%d",&Num2);
Result=(Num1/Num2);
printf("Result is:%f",Result);
return 0;
}
// Accept length and width of rectangle from the user and calculate area.
#include
int main(void)
{
float length,width,area;
printf("enter the length of the rectangle:");
scanf("%f",&length);
printf("enter the width of the rectangle:");
scanf("%f",&width);
area=length*width;
printf("the area of rectangle is:%f",area);
return 0;
}
// program to swap two number without using temp variable.
#include
int main(void)
{
int a,b;
printf("enter the value of the a:");
scanf("%d",&a);
printf("enter the value of the b:");
scanf("%d",&b);
a=a+b;
b=a-b;
a=a-b;
printf("After swapped : a=%d b=%d",a,b);
return 0;
}
#include
#include
int main(void) {
setbuf(stdout,NULL);
float lengthnum,widthnum,area;
printf("enter lengthnum and widthnum");
scanf("%f%f",&lengthnum,&widthnum);
area=lengthnum*widthnum;
printf("the area of triangle is :%f",area);
return EXIT_SUCCESS;
}
int main() {
float length,width,area;
{
printf("enter the length number
");
scanf("%f", &length);
printf("enter the width number
");
scanf("%f", &width);
area=length*width;
printf("the area of rectangle %f
",area );
}
result
enter the length number
10
enter the width number
2
the area of rectangle 20.000000
Mass nov❤❤
Goosebumps
Super bro and thanks ❤️
1)
int main(void) {
float num 1, num 2, result;
printf("Enter 2 Numbers");
scanf("%f%f",&num1,&num2);
result=num1/num2;
printf("Your result is : %f",result);
return EXIT_SUCCESS;
}
idhu correct aah bro
float n1,n2,add,div;
{
printf("enter the n1 number
");
scanf("%f", &n1);
printf("enter the n2 number
");
scanf("%f", &n2);
add=n1+n2;
div=(n1/n2);
printf("the add %f
",add );
printf("the result %f", div);
}
1)#include
#include
int main(void){
int num1,num2;
float result;
printf("Enter first number:");/*Getting first number as input from user*/
scanf("%d",&num1);
printf("Enter Second number:");/*Getting second number as input*/
scanf("%d",&num2);
result=num1/num2;
printf("The result of division is: %f
", result);
}
Puts not only mac brother
Puts also available in windows
float length,width,area;
printf("Enter length");
scanf("%f",&length);
printf("Entered length is %f",length);
printf("Enter width");
scanf("%f",&width);
printf("Enterd width is %f",width);
area=length*width;
printf("result is %f",area);
}
output la problem varudhu same code of yours
unga problem screenshot eduthu namma telgram channel la kelunga brother namma tech team ungla support pannuvanga , telgram groupla join panradhukaana registration link description la irukku
Really it is more useful. Ur teaching is also too good to understand.
Same problem did you, get the answer bro, help me
Super Bro
Thank you bro
Avarage program
#include
int main()
{
int a=20,b=30,c=40,Temp;
Temp=a;
a=c;
c=Temp;
printf("a:%d,b:%d,c:%d",a,b,c);
return 0;
}
1.Accept two numbers from the user and perform division (Result in Float)
#include
#include
int main(void) {
float number1,number2,division;
printf("Enter 2 Numbers");
scanf("%f%f",&number1,&number2);
division=number1/number2;
printf("result is : %f",division);
return EXIT_SUCCESS;
}
Output:
Enter 2 Numbers20
3
result is : 6.666667
2.Accept the length and width of a rectangular from the user as input and calculate the area of the rectangular.
#include
#include
int main(void) {
float length,width,area;
printf("Enter length,width");
scanf("%f%f",&length,&width);
area=length*width;
printf("result is : %f",area);
return EXIT_SUCCESS;
}
Output:
Enter length,width4.8
2.3
result is : 11.040000
3.Swapping two variables without temp
#include
#include
int main(void) {
int a,b;
printf("Enter a");
scanf("%d",&a);
printf("Enter b");
scanf("%d",&b);
a=a+b;
b=a-b;
a=a-b;
printf("a : %d",a);
printf("b : %d",b);
return EXIT_SUCCESS;
}
Output:
Enter a20
Enter b60
a : 60b : 20
Thank you 🈲
One doubt in 2nd question.
We can also use int or only float ?
Length and width are integers number we can use int, but length and width also have floating point(like length=3.5, width=11.8). So we can only use float.
This program length and width are float, so we use float.
Thanks for asking your question 😊
@@bharathi0606appadina int use panna kudathuda
Super teaching ya
Bro can i use visual Studio code for c program
Yes ungalukku comfortable aana IDE use panikklaam brother
1)#include
#include
int main(void){
float num1,num2,result;
setbuf(stdout,NULL);
printf("enter 2 num");
scanf("%f%f",&num1,&num2);
result=num1/num2;
printf("the result is : %f", result);
}
2)#include
#include
int main(void){
float length,width,area;
setbuf(stdout,NULL);
area=length*width;
printf("the area is : %f",area);
}
bro we want datastructures from you pls do videos
Kandipa pandren bro
@@brototypetamil soon bro we are waiting
3. Swapping
Don't give temp
Simple give
a=b;
b=a;
Varala bro
Tq🤗
Correct ah bro
1)
#include
int main() {
int a,b ;
float r;
printf("enter two numbers : ");
scanf("%d%d",&a,&b);
r=(a/b);
printf("your answer is : %f",r);
return 0;
}
OUTPUT
enter two numbers : 90 30
your answer is : 3.000000
2) #include
int main() {
float length,width,area;
printf("enter the length : ");
scanf("%f",&length);
printf("enter the width : ");
scanf("%f",&width);
area=length * width;
printf("Your area is : %f",area);
return 0;
}
output
enter the length : 5.5
enter the width : 6.1
Your area is : 33.549999
Python programming course video post pannunga bro
kandippa will do soon
dvision
#include
#include
int main(void) {
float num1,num2,division;
setbuf(stdout,NULL);
printf("enter 2 numbers");
scanf("%f%f",&num1,&num2);
division=num1/num2;
printf("result is :%f",division);
return EXIT_SUCCESS;
}
area of rectangle
#include
#include
int main(void) {
float length,width,area;
setbuf(stdout,NULL);
printf("enter length,width");
scanf("%f%f",&length,&width);
area=length*width;
printf("area of reactangle is :%f",area);
return EXIT_SUCCESS;
}
Actually naa oru web sites create pannum bro. Antha reason kaaga thaa youtube search pannittu erunthen. But, unga vedios paathathum, ivlo thaa codings ha nu feel aaguthu.
Avlo easy and simple method la expline pannuringa
Thank you
#include
#include
int main(void) {
float length,width,area;
setbuf(stdout,NULL);
printf("Enter length,width");
scanf("%f%f",&length,&width);
area=length*width;
printf("The area is:%f",area);
return EXIT_SUCCESS;
}
Bro while executing the code in my laptop I'm getting permission denied by mingw i don't know what to do please help me
Kindly ask in our telegram group
Just now started 100k Coding Challenge my Day 1 Assignment is here
//swapping 2 values without temp
#include
void main(){
int a=10,b=20;
printf("Before Swap
");
printf("value of a %d
",a);
printf("value of b %d ",b);
a=a+b;
b=a-b;
a=a-b;
printf("
After Swap");
printf("
value of a %d
",a);
printf("value of b %d ",b);
}
//Division Program
#include
void main(){
int a,b,divide;
printf("Enter Value for A : ");
scanf("%d",&a);
printf("Enter Value for B : ");
scanf("%d",&b);
divide=a/b;
printf("Divided value is %d ",divide);
}
//Area of rectangle
#include
void main()
{
float length,width,area;
printf("Program to Calculate Area_of_the_Rectangle
");
printf("Enter value for Length :");
scanf("%f", &length);
printf("
Enter value for Width :");
scanf("%f", &width);
area = length * width;
printf("Area of the Rectangle based on your input is %f ",area);
}
program3
#include
#include
int main(void) {
int a=10,b=20;
setbuf(stdout,NULL);
a=a+b;
b=a-b;
a=a-b;
printf("a: %d b: %d",a,b);
return EXIT_SUCCESS;
}
program2
#include
#include
int main(void) {
float length,breath,area;
setbuf(stdout,NULL);
printf("enter the rectangular");
scanf("%f%f",&length,&breath);
area=length*breath;
printf("the result is: %f",area);
return EXIT_SUCCESS;
}
program1
include
include
int main(void) {
float num1,num2,divde;
setbuf(stdout,NULL);
printf("enter 2 numbers");
scanf("%f%f",&num1,&num2);
divde=num1/num2;
printf("result is : %f",divde);
return EXIT_SUCCESS;
}
Sir program yellam correct irukku but console output Enter a Number show agala .what is the problem sir?
please ask in our telegram group , namma tech team ungalukku support tharuvanga
@@brototypetamilFor windows OS Put this command after Variable declaration
setbuf(stdout,NULL);
Press the stop 🛑 button in the left side top corner 2,3 times then Save Build Run
It works!!!
@@Ms.Minion setbuf(stdout,null); atha enga podanum
bro in this i encountered an issue with the scanf function while i entered a scanf function it shows nothing in my console after i entered a value like 20 the output was like
20
enter a numberyou entered 20
but if i removed it shows the out put properly
can any one help me with this issue
Bro doubts namma telegram groupilea share pannungea namma team help pannuvaru
Descriptionilea telegram group link irruk
@@brototypetamil bro ketten no reply
37:22 number(20) enter panna piragu bro
20
Enter a numberyou have entered20
Itha mathirithan bro varuthu 😕🙁
Enakum apdi tha bro varuthu
Add
to print in new line
@@narayanan0180it's not working bro
Sir..I have registered in brototype website but now I can't able to join in telegram page .what to do?
It will be a network issue, try again after changing the data or wifi.
Make a video for java , bro
Kandippa
Bro can I use code blocks
yes
@@brototypetamil thanks bro
division
#include
#include
int main(void) {
float a,b,answer;
printf("enter two numbers");
scanf("%f%f",&a,&b);
answer=a/b;
printf("answer: %f",answer);
return EXIT_SUCCESS;
I completed tha assignment but from laptop 😅😊
Assignment Answers
1.#include
int main()
{
float Num1,Num2,Result;
printf("Enter Two Numbers:");
scanf("%f%f",&Num1,&Num2);
Result=Num1/Num2;
printf("Result is %f",Num1,Num2);
return 0;
}
O/p
Enter Two Numbers:5
5
Result is 5.000000
2.#include
int main()
{
float length,width,area;
printf("Enter length and width values:");
scanf("%f%f",&length,&width);
area=length*width;
printf("the area is:%f",area);
return 0;
}
O/p
Enter length and width values:5
5
the area is:25.000000
3.#include
int main()
{
int a=10,b=20;
printf("a:%d,b:%d",b,a);
return 0;
}
O/p
a:20,b:10
In this average project, not run well, error showing float num1, num2, num3, average;
Main problem is float
Input practical program la 18th and 19th line la error varuthu
AND
Output window la blank screen ah irukkuthu but number enter panna mudium aprom ENTER button click pannuna two PRINTF statement um same line la print aairuthu
ANY ONE SOLUTION SOLLUNGA GUYS
please ask in our telegram group , namma tech team ungalukku support tharuvanga
same problem!
solution kedachal solunga bro plz
How to join telegram channel??
1
#include
int main() {
int num1, num2;
float result;
printf("Enter first number: ");
scanf("%d", &num1);
printf("Enter second number: ");
scanf("%d", &num2);
result = (float)num1 / num2;
printf("Result of division: %f", result);
return 0;
}
I started to by using sample program Hello world program build was success and o/p came, but while using scanf function for input function build got failed I dont know why... I stuck on this cant move.. pls help what is the problem .................
neenga face panra problem namma screenshot eduthu namma telegram groupla kelunga namma tech team ungalukku full support tharuvanga , telegram la join pnradhukana registration link description la irukku
Mingw cannot open output file ... permission deined it's showing...how to sole this ..can anyone help me with this problem please
neenga face panra technical problem solve panna, namma description la irukkra registration link la register panna namma tech support telegram group la add aveeenga adhula keta podhum help pannuvanga
Division
int num1,num2;
float division;
printf("Enter 2 numbers :");
scanf("%d%d",&num1,&num2);
division=num1/num2;
printf("your result is : %f",division);
Enter 2 numbers: 10
2
your result is : 5.000000
Bro naa online complier use pannalam.ma
initially you can use but IDE use panni palagradhu nalladhu
int main() {
int bigno,smlno,sum;
printf("enter 1 st no. is bigger 2 nd no. is small: ");
scanf("%d%d",&bigno,&smlno);
sum=bigno/smlno;
printf("you ented value %d",sum);
return 0;
}
1st
3rd
float a=1,b=2,temp;
temp=a;
a=b;
b=temp;
printf("a %f b %f",a,b);
return 0;
3 program
#include
#include
int main(void){
int a=20,width=10,area;
area=a;
a=width;
width=area;
printf("a:%d width:%d",a,width);
return EXIT_SUCCESS;
}
bro unga board la scanf("%d ,&a); wrong , scanf("%d",&a); correct double quets ( " ) missing.
Swapping 2 numbers without temp variable
Method 1 : User giving input in the console.
#include
#include
int main(void) {
float num1,num2;
setbuf(stdout,NULL);
printf("Enter the Numbers: ");
scanf("%f%f",&num1,&num2);
printf("num1 %f num2 %f",num2,num1);
return EXIT_SUCCESS;
}
Method 2 : assigning value in the program itself.
#include
#include
int main(void) {
float num1=10,num2=20;
setbuf(stdout,NULL);
printf("num1 %f num2 %f",num2,num1);
return EXIT_SUCCESS;
}
Bro setbuf(stdout,NULL);
Endha command use pannadha enaku output la printf la use pandra sentence proper ra kamikudhu y bro
Kindly Please ask technical doubts in our telegram group
Bro, i have tried n no of times. Still I haven't get output yet, idk what's wrong. It'll be more good if you help me to fix my problem
Join the Telegram group, our tech support will help you. Join here :brototype.com/ta/100k/?ref=ytdescription
Bro, i have filled the details in the link you have shared for the telegram group. But i havent got any link to join the group.
Im just starting with your classes. There is 0 error, 0 warning. but no output is shown in the console while running the program.
Please help.
DM to @brototype.tamil in instagram
@@brototypetamil thanks. Will do.
bro,
i facing some issue in my console o/p, after run as administrator console screen is empty then i am typing 10 it showing as : Enter a numberyou have entered 10
Please ask your technical doubts in our telgram group our tech team will support you
Bro everytime launch failed bianary not found solution podu bro 😢
unga problem screenshot eduthu namma telgram channel la kelunga brother namma tech team ungla support pannuvanga , telgram groupla join panradhukaana registration link description la irukku
@@brototypetamil bro solution kedachitu thankyou
Sir my output is if i entered 20 then only you have entered 20 but yours enter a number shows
Join the Telegram group, our tech support will help you. Join here :brototype.com/ta/100k/?ref=ytdescription
i have build the project but after running the console shows INFO: NOTHING TO BUILT
Telegram groupla unga issue sollunga namma tech team help pannuvanaga
vs code la panna mudiyuma
Bro output file cannot open permissions denied varuthu output console empty erukhu so what can i do
Bro ask this kind of doubts in our telegram group
after int main add this code" setbuf(stdout,NULL); "
Hiii bro here my program to swap two numbers without using temp variable.
#include
#include
Void main()
{
Int a=77,b=75;
a=b;
b=77;
Printf("a:%d b:%d",a,b);
Printf("
!!! thank you bro!!!");
Printf("
!!!coding is fun!!!"):
getch();
}
having issue on running project it shows errors please help me to clear this
Kindly Please ask in our telegram group for tech support
Bro neenga sonna mari na already mbbs ennoda goal set panni athu ku prepare panni neet exam ippo eluthiruka but ennaku kedaikathu lite ah theriyuthu atha nala tha na engineering pakom polanu coding kathu ka vanthen
Ok, you can continue the tutorial and also connect with us on 9995270355 our team can guide you.
How to add eclipse in disktop 😢on Ubuntu and windows
Join the Telegram group our tech support will clear your doubts there. Join here: brototype.com/ta/100k/?ref=ytdescription
I have some doubt , where do i find telegram channel link???
Join the Telegram group, our team will help you. Join here :brototype.com/ta/100k/?ref=ytdescription