+ 2
Can you help me to write this code pleaz? In c++ language
initialize 10 elements array in memory and find max & min # in array ..
29 Respostas
+ 20
#include <iostream>
using namespace std;
int main() {
int arr[10];
int min = arr[0];
int max = arr[0];
for (int num : arr) {
if (num>max) {
max = num;
} else if (num<min) {
min = num;
}
}
cout<<"Min:"<<min<<endl<<"Max:"<<max;
return 0;
}
+ 18
@hadeel You can't!.... ^_^
+ 15
(Love story became sad story..... ~_~)
+ 14
Language?
+ 14
(Interesting love story!... ^_^ ...kidding......)
+ 5
hhhhhhhhhhhhhhhh @valentinHacker no it's not love story ✌
+ 5
my strong question why all programers have same picture (anime) 🤔 in solo learn I'll change my picture like you 😂✌
+ 4
thanks alot @valentinHacker 😍😍😍😍
+ 4
@isomer hhhh no im girl my name is hadeel🤔
+ 4
@isomer yes I love anime ..what's your nationality
+ 4
@isomer welcome✌😊
+ 3
c++
+ 3
how I can be lik you @valentinHacker💔😍
+ 3
hhhhhh I wish 💔 @valentinHacker
+ 3
thanks alot @ Madera Oxidada
+ 3
🌷✌
+ 3
hadeel : did you have fb account? and name was hadeel
+ 3
@Hadeel you guy? my bad then.I am talking about who was a girl
+ 3
@Hadeel I see. do you like to watch anime? I had a fb account and added with all anime lovers. had a female friend who was added with me name was hadeel. sorry for my English. I am bad at English 😷😷
+ 3
thanks