
LANGUAGE: C++
CHALLENGE:
Write a for loop that prints all the even integers from 80 through 20 inclusive, separated by spaces.
SOLUTION:
for (int i=80; i>=20; i--){ if ((i % 2)==0){ cout << i << " "; } }
Write a for loop that prints all the even integers from 80 through 20 inclusive, separated by spaces.
for (int i=80; i>=20; i--){ if ((i % 2)==0){ cout << i << " "; } }
Have you heard the news? Matthew Maennche is hosting his Social Media 101 seminar tomorrow! We sure hope you can jo… https://t.co/UJmBN2tMp3 Tweet URL
By simply having access to someone who actually understands how digital marketing works, businesses can leverage th… https://t.co/HTF7wcsowP Tweet URL
Maennche Virtual CMO is a family owned and operated entity. After spending years in the trenches developing busines… https://t.co/t0oedhI7B9 Tweet URL
Matthew Maennche, of myVCMO, will help you cover tactics to make you market your small business even on a shoestrin… https://t.co/n5oVXMYbYn Tweet URL
If you couldn't make it yesterday afternoon you missed a great class! If you made it or not, I sure hope to see you… https://t.co/xp7hDlo5hZ Tweet URL
Java
for (int i = 80; i >= 20; i–){
if ((i % 2) == 0){
System.out.print(i + ” ” );
}
}