atoi, which takes a string and converts it to an integer.
write a program that reads lines(using getline), converts
each line to an integer using atoi and computes the average
of all the numbers read. also compute the standard deviation
No Answer is Posted For this Question
Be the First to Post Answer
What are variables c?
Explain do array subscripts always start with zero?
Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix
Write a program that his output * *** *****
What are the advantages of using linked list for tree construction?
What is a memory leak in structures? How can we rectify that?
void swap(int a,int b) { a=a+b; b=a-b; a=a-b; } in this code always gives the same result for all case
How can I allocate arrays or structures bigger than 64K?
What is the size of structure pointer in c?
Just came across this question, felt worth sharing, so here it is I want you to make a C/C++ program that for any positive integer n will print all the positive integers from 1 up to it and then back again! Let's say n=5 I want the program to print: 1 2 3 4 5 4 3 2 1. Too easy you say? Okay then... You can ONLY USE: 1 for loop 1 printf/cout statement 2 integers( i and n) and as many operations you want. NO if statements, NO ternary operators, NO tables, NO pointers, NO functions!
what do you mean by inline function in C?
Was 2000 a leap year?