; 05
Documents
Resources
Learning Center
Upload
Plans & pricing Sign in
Sign Out
Your Federal Quarterly Tax Payments are due April 15th Get Help Now >>

05

VIEWS: 15 PAGES: 1

  • pg 1
									#include<iostream.h> #include<conio.h> void ciframare(long int numar) {int max,cifra; max=0; while(numar) {cifra=numar%10; if(cifra>max) max=cifra; numar=numar/10;} cout<<max; cout<<endl;} void main() {clrscr(); long int numarcitit; do {cin>>numarcitit; ciframare(numarcitit);} while(numarcitit!=0); getch();}


								
To top