#include<iostream.h> #include<conio.h> void main() { int m1,m2,m3; float avg; char ans; cout<<"Enter 3 Numbers"; cin>>m1>>m2>>m3; avg=(m1+m2+m3)/3; cout<<"Average="<<avg; cout<<"\n Rerun the program ? (input y or n)"; while(ans) { cin>>ans; if(ans=='y'||(ans=='Y')) { cout<<"\n Try Again"; cout<<"\n Rerun the program ? (input y or n)"; } else { cout<<" \n Bye Bye"; cout<<"\n Try Again"; cout<<"\n Rerun the program ? (input y or n)"; } } } |
I want to put a jpeg or gif file in the part where it says bye bye |