Centering Thus the first age1 is added to age2 and then the result of this is added to age3 and then
this result is added to age4 and so on. Now we divide this total by 10 and get the average age. CS411 Handouts PDF We store this average age in the variable i.e. AverageAge by writing the statement: Here the string enclosed in the quotation marks will be printed on the screen as it is and the value of average age will be printed on the screen.
CS411 Handouts PDF

First of all, we will sort the problem and find out how we can find the digits of an integer. We know that when we CS411 Handouts PDF divides a number by 10, we get the last digit of the number as the remainder. For example, when we divide 2415 by 10 we get 5 as the remainder.
ALL VU ASSIGNMENT SOLUTION GROUPS MUST JOIN AND SHARE WITH FRIENDS
IN THIS WHATSAPP GROUP I SEND A SOLUTION FILE AND LINK FOR YOU. MUST JOIN THESE WHATSAPP GROUPS CLICK THE BELOW LINK
ALSO, SEE
ACC311 FINAL TERM PAST PAPER MEGA FILES
MUST JOIN VU STUDY GROUPS
GROUP LINK
GROUP LINK
GROUP LINK
GROUP LINK
GROUP LINK
Similarly. We will use this logic in our problem to get the digits of the number. First, declare two variables to store CS411 Handouts PDF the number of the number. Let’s say we have the number 1234 to represent the numbers separately.
The U.S We will use the modulus operator (%) to get the rest into our program. So we first Take 10 from the module to get the number of digits 1234 (i.e. 1234% 10). this gives me the number 4 We will show this digit on the screen by using the court statement.

Click to Download Below CS411 PDF Handout