samathasfriend2693 samathasfriend2693
  • 18-10-2019
  • Computers and Technology
contestada

In C, how would I make a program that gets the third integer of multiple lines/streams of integers using pointers and sscanf, and getline?

For example,

input:

1 2 3 4 5

3 4 5 6 7

8 9 4 3 4

out: 3, 5, 4

Respuesta :

marydorsey99md marydorsey99md
  • 18-10-2019

Answer:

12345 34567 89434 out:3,5,4

Answer Link

Otras preguntas

How do you multiply positive and negative integers?
If a hallway measuring 90 feet by 7 feet requires 1/2 a fluid ounce of cleaning solution per square foot, how much cleaning solution is needed to clean the hall
11r+60=16 show work plz
if (x-1)/(x)=20 then x=
How do you multiply positive and negative integers?
for freinds share 32 tokens at the arcade .if they share them equally ,what fraction of tokens will each person get?               how many tokens will each per
what is 4/625 to the 2nd power?
How would using a number line to find the sum 2+5 be different from using a number line to find the sum -2+(-5)?
Find the value of x that makes each equation true. 1. 3x-10=2 2. 8x-10=x+11 3. 5x-7=7x-17 4. 3x+9=44-2x 5. 3x+6=x+2
Write the recursive formula for the geometric sequence. a1 = -2  a2 = 8  a3 = -32