Q&A Discussies
What is "return" type in java
0 Stemmen
2 Antwoordenhow
0 Stemmen
3 AntwoordenFunctions in c
0 Stemmen
1 AntwoordWhat is the error ?
2 Stemmen
1 AntwoordReturning array in c++
0 Stemmen
5 Antwoorden
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 Stem
3 Antwoordendouble 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 Stemmen
3 AntwoordenNeed help with Swap Array Values
0 Stemmen
2 AntwoordenReturning a string
0 Stemmen
1 AntwoordAnyone help me with this?
0 Stemmen
2 AntwoordenData Science - Average of Rows
0 Stemmen
4 Antwoordenwrite function
0 Stemmen
2 AntwoordenPopulair vandaag
Decorators in python.
2 Votes
Coding for Cybersecurity
1 Votes
Need help
1 Votes
Salut tout le monde
2 Votes
Pointers in c#
1 Votes
Please click me
0 Votes
Hello !
0 Votes