When ever I put in the % symbol it gives me stupid errors but if I change the % to a - or +,*,/ it works here is the code.
Code:
.. //Price of Pizza's #include<iostream.h> void main() { float inch; float fin; cout<<endl; cout<<"Enter your Height "; cin>> inch; fin = inch % 12; cout<<"Here is your hieght "<<inch/12<<fin<< " in feet and inches "; } ..
Comment