Обсуждения
Question about "return"
0 голосов
1 ответWhat is "return" type in java
0 голосов
2 ответовFunctions in c
0 голосов
1 ответWhat is the error ?
2 голосов
1 ответ
Define a Python function "orangecap(d)" that reads a dictionaryd of this form and identifies the player with the highest total score. Your function should return a pair(playername,topscore) whereplayername is a string, the name of the player with the highest score, andtopscore is an integer, the total score of playername.
-1 голос
3 ответовdouble arr[]={5,2,7,8,11,9};
int n = sizeof(arr) / sizeof(arr[0]);
double sum = 0;
for(int i=0;i<n;i++)
{
sum+= arr[i];
}
double avg = sum / n;
cout<< "avarage ="<< avg<< endl;
return 0;
)
/*what does int n= sizeof(arr[]) /sizeof(arr[0]);
do, can someone explain that line for me*/
0 голосов
3 ответовReturning array in c++
0 голосов
5 ответовNeed help with Swap Array Values
0 голосов
2 ответовReturning a string
0 голосов
1 ответAnyone help me with this?
0 голосов
2 ответовUse of REF keyword in a method? C#
0 голосов
3 ответовData Science - Average of Rows
0 голосов
4 ответовwrite function
0 голосов
2 ответовАктуальное сегодня
Time up code for data revision
0 Votes
Best Python Calculator Code
1 Votes
I want to learn why this error occurs in "while loop" function of Pythone.Can someone explain to me?
1 Votes
Animation
2 Votes
New code
1 Votes
Clean Code
2 Votes
While or for loop
0 Votes