Given, a = 3, r = 1/2, n = 10
%r is common ratio
%n is number of terms
%a is the first term of the series
Sum = 0;
a = 3;
r = 1/2;
for i = 0 : 1 : 10;
Sum = Sum + a * r ^ i;
end
Sum
c/c+ also java would be one
Answer:
For Rachael to pursue a career in business information management. She is expected to follow the following route one after the other.
1. Training in management skills and data storage
2. Certification in MIS
3. Bachelor's degree in business administration
4. Master's degree in business administration
Hope this helped! ;)
Answer:
1)
string value;
cout << "type I am smart";
cin >> value; // get user input from the keyboard
2)
int num1 = 67;
int num2 = 45;
int num3 = 12;
int num4 = 89;
int num5 = 46;
int num6 = 89;
int num7 = 46;
int num8 = 88;
int num9 = 43;
int numbers [ ] = {num1,num2,num3,num4,num5,num7,num8,num9} ;
//to load it as a function
int main ()
{
for ( n=0 ; n<5 ; n++ )
{
result += numbers[n];
}
cout << result;
return 0;
}