Moderator: idatabase
#include<iostream>
using namespace std;
int main()
{
int c = 0 ;
for ( int c=1 ; c<=10 ; c++)
cout << c << endl ;
system ("pause") ;
return 0 ;
}// for ( int c=1 ; c<=10 ; c++) no (;)
#include<iostream>
using namespace std;
int main()
{
int c=0 ;
for ( c=1 ; c<=10 ; c++)
cout << c << endl ;
system ("pause") ;
return 0 ;
}// for ( c=1 ; c<=10 ; c++) no (;)
#include<iostream>
using namespace std;
int main()
{
int c=0 ;
for ( c=1 ; c<=10 ; c++);
cout << c << endl ;
system ("pause") ;
return 0 ;
}// for ( c=1 ; c<=10 ; c++); (no int at c)
#include<iostream>
using namespace stdว
int main()
{
int c=0 ;
for ( int c=1 ; c<=10 ; c++);
cout << c << endl ;
system ("pause") ;
return 0 ;
}// for ( int c=1 ; c<=10 ; c++);
#include<iostream>
#include<iomanip>
#include<cmath>
using namespace std;
int main(){
int x;
cin >> x;
cout << setw(15) << setfill('.') << "x is " << x << endl;
cout << "x^2 is " << pow(static_cast<double>(x), 2.0) << endl;
system ("pause");
return 0;
}
a=2 b=-1
จงหา a++ - --b - --a - --b
9+15/4*4-6*3-3
VaNnEsS_a wrote:= ="
จำออกมาซะหมดเลยเร่อ..
เจ๋งจริงๆ..
Return to Com-Sci#51 (CS รุ่น23)
Users browsing this forum: No registered users and 1 guest