Top Banner

of 55

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript

structuri de control1. Se cite te un num r natural n. S se determine cifra maxim din num r, folosind un subprogram. Exemplu: Dac n=7934 , atunci cifra maxim este 9.#include #include int a[100],n,k; void citire() { coutn; for(int i=1;i