Answer:
pseudo code:
x=1
q=0
while x*x<h: {
x += 1}
q=x-1
complete code in C language
#include <stdio.h>
int main() {
int h=19;
int q=0;
int x=1;
while ((x*x)<h){
x += 1;
}
q=(x-1);
printf("The sum of total perfect squares less than %d is: %d", h,q);
return 0;
}
Step-by-step explanation:
first '%d' in print statement refers to h and second '%d' in print statement refers to q