about proggraming
It is 'scanf', see the help.
They both scan something.They both scan the inside f something that we usually can not see.
#include<iostream> using namespace std; int gcf(int a, int b) { int t; while(b!=0) { t = b; b = a%b; a = t; } return a; } int main() { int a,b,c,d,e,f,g,h,i,j,k; cout<<"Enter 1st numbers: "; cin>>a; cout<<"Enter 2nd numbers: "; cin>>b; cout<<"Enter 3rd numbers: "; cin>>c; cout<<"Enter 4th numbers: "; cin>>d; cout<<"Enter 5th numbers: "; cin>>e; cout<<"Enter 6th numbers: "; cin>>f; cout<<"Enter 7th numbers: "; cin>>g; cout<<"Enter 8th numbers: "; cin>>h; cout<<"Enter 9th numbers: "; cin>>i; cout<<"Enter 10th numbers: "; cin>>j; k=gcf((((((((gcf(a,b),c),d),e),f),g),h),i),j); cout<<"The GCD of the 10 numbers is: "<<k<<endl; system("pause"); return 0; }
its designed different that's like asking whats the difference between a f-15 and a f-16 two different aircraft
The difference is that jodhfjjfh fif f
printf: format string + value list scanf: format string + address list
A good starting f-stop for beginners in photography is around f/5.6 to f/8. This range allows for a balance between depth of field and sharpness in your images. As you gain more experience, you can experiment with different f-stops to achieve different creative effects.
Boog Powel, Frank Robinson, Brooks Robinson, Lee May all had 2 home runs. The 1970 World Series was between the Baltimore Orioles and Cincinnati Reds. The Orioles would win the series 4-1. The following are the home runs by game: Game 1 BAL- Boog Powel (1), Elrod Hendricks (1), Brooks Robinson (1) CIN- Lee May (1) Game 2 BAL- Powell (1) CIN- Bobby Tolan (1), Johnny Bench (1) Game 3 BAL- Frank Robinson (1), Don Buford (1), Dave McNally (1) CIN- none Game 4 BAL- B Robinson (1) CIN- Pete Rose (1), May (1) Game 5 BAL- F Robinson (1), Merv Rettenmund (1) CIN- none
To convert *F to *C...*F-32x5/9=*CIn easier terms, subtract the fahrenheit minus 32. Do the answer times 5, then take the answer and divide it by 9-or-*F-32x0.5555=*CIn easier terms, subtract the fahrenheit minus 32. Do the answer times 0.5555For 135*F...135-32= 107, 107x5= 535, 535/9= 59.44444(repeating)*CAnswer...135*F = 57 to 59*C
by this program you can find the factorial: #include<iostream> using namespace std; main() { int n,x,f=1; cin>> n; x=0; while(x<n) { x++; f= f*x; } cout<<"factorial is"<<f<<"\n"; system("pause"); return 0; }
#include<stdio.h> void main() { float a, b, result = 0.0; int choice; print f("Choose 1 for addition choose 2 for subtraction & 3 for multiplication & 4 for division \n"); scan f("%d" &choice); print f("Enter Two Numbers "); scan f("%f, %f" &a, &b); switch(choice) { case 1: print f("The Result Is :" "%f" a + b); break; case 2: print f("The Result Is :" "%f" a - b); break; case 3: print f("The Result Is :" "%f" a * b); break; case 4: print f("The Result Is :" "%f" a / b); break; default: print f("Wrong Choice"); } }
This exactly the same but in difference professional language. I'm a supplier and with our customer we say C and F but with any freight transporter their use the DDU term.