Dyskusje Q&A
hello every one
it is a usefull advice in learning this html course , leave html5 at the bigining & learn java script completly because in some sections (from 10/19 to end of the course) you need basic & even advance knowledge of JS . then your able to return to previous course & learn html5 easier.
goodluck.
1 Głos
3 odpowiedziI have a PHP multiD array like array($arrayA, $arrayB, $arrayA, $arrayC, $arrayC, $arrayA...........)
ho can I get a resulting array which have distinct elements from this array and sorted with the more occurance first like...
array( $arrayA, $arrayB, $arrayC)
because array $arrayA was 3 tumes in first array so it comes first in resulting array.
0 głosów
3 odpowiedzi
what have i to do, if i want that the program always writes for example :
0+1
1+2
3+3
6+4
10+5
15+6
...
because now it just writes
1
3
6
10
15
...
and maybe if it works, can i make then
0+1=1
1+2=3
3+3=6
6+4=10
#include <iostream>
using namespace std;
int main(){
int i;
int sum = 0;
for (i = 1; i <= 100; i++){
sum = sum+i;
cout<<sum<<endl;
}
cout<<sum;
return 0;
}
1 Głos
5 odpowiedziPopularne dzisiaj
How to use the get() method
3 Votes
Game Dev Path
2 Votes
How to get account back?
1 Votes
So this what I'm trying to solve
2 Votes
PHP Tutorial Idea
1 Votes
Problem whit Javascript
1 Votes