i still dont know how please enter the code for me pleeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaassssssssssssssssssssssssssssssssssssssssss
i am still 11 years but i can make programes well like:
a convertor between fahrenheit and celcius and the code:
#include "stdafx.h"
#include <iostream>
using namespace std;
int main(int argc, char* argv[])
{
char c;
float t;
cout<<"please write c to convert from (c-f) or f to convert from(f-c)"<<endl;
cin>>c;
if(c=='c')
{
cout<<"pls enter the tempreture in celcius"<<endl;
cin>>t;
cout<<5/9*(t-32);
}
else if(c=='f')
{
cout<<"pls enter the tempreture in fahrenheit"<<endl;
cin>>t;
cout<<(9/5*c)+32<<endl;
}
if (iPlayerTurn == 1) {
iPlayerTurn = 2;
} else {
iPlayerTurn = 1;
}
}
} while (!bGameOver);
}
and a square drawer
#include "stdafx.h"
#include <iostream>
using namespace std;
int _tmain(int argc, _TCHAR* argv[])
{
{ int height, width, tmp, tmp2;
cout << "Please Enter The Height Of A Rectangle (whole numbers only): "; height: cin >> height;
if(height<1){cout << " Please Enter A Height Of Between 1 And 20: "; goto height;}
cout << "Please Enter The Width Of A Rectangle (whole numbers only): "; width: cin >> width;
if(width<1) {cout << " Please Enter A Width Of Between 1 And 38: "; goto width;}