# Answer to Question #47629 in Other Engineering for Michael Ross

Question #47629

1. Draw the flowchart and write a c program that reads in a number n and then outputs the sign off the square from 1 to n

Ex. If n=3, output should be 14 because 1²+2²+3²=1+4+9=14

2. In a class of n students print the total no of female students and the total no of male students and at the end print the total no of total no of students in n class both males and females.

Ex. If n=3, output should be 14 because 1²+2²+3²=1+4+9=14

2. In a class of n students print the total no of female students and the total no of male students and at the end print the total no of total no of students in n class both males and females.

Expert's answer

## Comments

## Leave a comment