Question: Question No. 1: CLO-01 (25) Write a C++ program that extracts upper two digits of your registration number and places this number in int n.
Question No. 1: CLO-01 (25) Write a C++ program that extracts upper two digits of your registration number and places this number in int n. This program computes the sum of squares of the reciprocals up to n:
S = (1/1)2 + (1/2)2 + (1/3)2 +(1/4)2 + ... + (1/n)2
and shows the value of S on screen
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
