CPP
cpp
1
2
3
4
5
6
7
8
9
10
#include <iostream>
using namespace std;
int main() {
float division = 9.0/2.0;
int modulus= 9%2;
cout <<"9 / 2 = "<<division<<" This is division."<<endl<<"But this is modulus: 9 % 2 = "<<modulus<<endl<<endl;
//I hope this helped! Also i might as well sneakly chuck this in but i have recently made a new YouTube channel, everu subscription counts! It would be aswsome if you could check it out its name is 'Dankolicious' Thanks!
return 0;
}
Enter to Rename, Shift+Enter to Preview
OUTPUT
Run