To screw with your teacher:
first = (name1 > name2 ) ? name1 : name2;
That code is correct, but your teacher is probably looking for:
if( name1 > name2 )
first = name1;
else
first = name2;
I love the ternary operator!
You can show how you can benefit by your achievements so i would say B
Make the numbers in bold and/or underlined
Answer:
Moore’s law states that processor speeds, or overall processing power for computers will double every two years.
Explanation:
- Moore’s law is more than an observation than a law which was originated in 1970. The observation is about the number of transistors that is present in any system or an integrated system that will be doubled every couple of years.
- The real-world application of Moore's law can be seen during computing your business taxes, piloting a spaceship, or changing the television station, etc.
Answer:
Historical
Explanation:
Historical data gives information about the existing data over the past years.
based on this historical data we can analyze the future and can make decisions.