This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
cout<<"This Program allows you to solve equations of two unknowns"; | |
cout<<"\n\nPlease Input your coefficients in the following format:\n\nx1\ny1\nz1"; | |
cout<<"\nx2\ny2\nz2\n"; | |
double x,y,x1,x2,y1,y2,z1,z2; | |
cin>>x1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
#include <string> | |
using namespace std; | |
int main() | |
{ | |
string fname,lname; | |
double yob; | |
double height,weight,age,bmi; | |
cout<<"Please input your first name\n"; | |
cin>>fname; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
cout<<"**********************************************\n"; | |
cout<<" HELLO\n"; | |
cout<<"==============================================\n"; | |
cout<<" I Like Programming :)\n"; | |
cout<<"**********************************************\n"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
cout<<"Enter the length and width of a rectangle\n"; | |
double length,width,perimeter,area; | |
cin>>length>>width; | |
perimeter=(2*length)+(2*width); | |
area=length*width; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
double score1, score2, score3, score4, score5 ,average; | |
cout<<"Enter five test scores: "<<endl; | |
cin>>score1>>score2>>score3>>score4>>score5; | |
average=(score1+score2+score3+score4+score5)/5; | |
cout<<"You entered: "<<score1<<" "<<score2<<" "<<score3<<" "<<score4<<" "<<score5<<endl; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This line and the 2 lines below are just comments. | |
// Comments are good for you but they are ignored by the compiler | |
// A first program in C++ | |
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
cout<<"Welcome to C++!"<<endl; | |
return 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This line and the 2 lines below are just comments. | |
// Comments are good for you but they are ignored by the compiler | |
// A first program in C++ | |
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
cout<<"Welcome to C++!\n"; | |
return 0; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This line and the 2 lines below are just comments. | |
// Comments are good for you but they are ignored by the compiler | |
// A first program in C++ | |
#include <iostream> | |
using namespace std; | |
int main() | |
{ | |
cout << "Welcome to"; | |
cout << " C++!\n"; | |
return 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sv_cheats "1"; | |
mp_freezetime 0; | |
bot_kick; | |
mp_roundtime 99999; | |
sv_autobunnyhopping 1; | |
sv_enablebunnyhopping 1; | |
sv_airaccelerate 300; | |
sv_accelerate 300; | |
cl_drawhud 0; | |
r_drawviewmodel 0; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Separe main code into more functions | |
//Add a stack which stores the previouses sudokus | |
//and comes back to the latest correct version if any error is detected | |
#include <iostream> | |
#include <time.h> | |
#include <stdlib.h> | |
using namespace std; |
OlderNewer