This file contains hidden or 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( ){ | |
int num; | |
cout << "Enter the length of the sides of the square: "; | |
cin >>num; | |
if (num == 1) { | |
cout <<"*"; |
This file contains hidden or 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(){ | |
int score = 60; | |
cout<<"enter your grade: "; | |
cin>>score; | |
/*80 GOOD | |
60 PASS |