Answer:
#include<bits/stdc++.h>
using namespace std;
int sumOfinteger(int );
// Returns sum of all digits in numbers from 1 to n
int sumOfintegersFrom1ToN(int n) {
int result = 0; // initialize result
// One by one compute sum of digits in every number from
// 1 to n
for (int x = 1; x <= n; x++)
result += sumOfinteger(x);
return result;
}
// A utility function to compute sum of digits in a
// given number x
int sumOfinteger(int x) {
int sum = 0;
while (x != 0) {
sum += x %10;
x = x /10; }
return sum; }
// Driver Program
int main() {
int n ;
cout<<"enter a number between 1 and n : ";
cin>>n;
cout << "Sum of digits in numbers from 1 to " << n << " is " << sumOfDigitsFrom1ToN(n);
return 0; }
Java.lang is the answer you're looking for
1. CPU
2. Motherboard
3. Fan
Answer:
The answer is "E-book, E-portfolio, and website
".
Explanation:
e-publications define as a method of connectivity are sites online besides the un-mail community newsgroup blog. It defines as a category of means, which storehouse with resource base are E-book, E-portfolio, and website.
- On the website, it can be classified as both connectivity and storage facility of information.
- On the website when network security like yahoo website only as a storage area of resource development website to access or download PDF files.
When creating an input/output table, where do you enter the formula?
A. In the input cell
B. In the output cell
C. In the title cell
D. In the table of contents
<u>ans. (B) In the output cell</u>