Answer:
D. The oldest and perhaps best-known system building tool is "Ant", which was originally developed in the 1970s for Unix.
Explanation:
Ant often referred to Apache Ant is a computer software tool, though popularly considered oldest, was originally first built in the year 2000 by Unix, on Java platform, which is utilized as a component of plug-in development.
Hence, given the available options, the correct answer is Option D, because, Ant originally built in the year 2000 and not the year 1970, while the other statements are definitely correct.
Answer:
E = array('b',3, 6, 10)
Explanation:
in the lesson I saw an array created in this format arr = array('f',[1.5, 3.6, 23])
:)
Answer:
Solution part of the question:
if(userTickets>5) //compare the value of userTickets with 5.
awardPoints = 10; // assign the 10 value to the award point
else
awardPoints=userTickets;// assign the userticket value to the awardpoint.
Output:
For the input 4 the output is 4.
For the input 5 the output is 5.
For the input 6 the output is 10.
For the input 7 the output is 10.
Explanation:
All the other part of the program is given on the question so here only if-else statement is given on the answer part. Which is pasted at the place of "/* Your solution goes here */" and the user can get the right answer.
- In the "if" statement the value of "userTickets" variable is get compared by 5 and if it is greater than 5 than variable "awardpoint" assigns the '10' value.
- Otherwise, with the help of "else" statement "userticket" variables value (which is the input value for the program) assign to the "awardpoint" variable.