Write A C Program To Find The Sum Of Two 1D Integer Arrays ‘A’ And ‘B’ Of Same Size And Store The Result In Another Array ‘C’, Where The Size Of The Array And The Elements Of The Array Are Taken As Input.
Answers
Answered by
0
Answer:
#include <iostream>
using namespace std;
int main()
{
int number=0, days, cycle=50;
float sqroot=1;
cin>>number;
while(cycle>0)
{
sqroot = (sqroot+(number/sqroot))/2;
--cycle;
}
days=number+(int(sqroot)+1);
cout<<int(days);
return 0;
}
Explanation:
Hope it helps u
:)
Answered by
2
Write A C program to find the sum of two 1d integer arrays
Similar questions