Thread: Please how do I solve this exercise?

  1. #1
    Registered User
    Join Date
    Apr 2020
    Posts
    2

    Please how do I solve this exercise?

    Write a C program which performs the multiplication of a single -dimensional array by a given value alpha (an integer) and returns the average value of the resulting array. The array's size and its integer elements as well as alpha are provided by a user via the keyboard. The initial array. the resulting one and the average value have to be printed out on the screen.

  2. #2
    Registered User
    Join Date
    Aug 2019
    Location
    inside a singularity
    Posts
    297
    Why make two blogs about the same thing? smh.

    If you don't like programming, why even choose to study it? That's more of a math problem than a programming problem. So, either you're terrible at math or don't know C. In any case, try and show us your attempt at whatever you've thought off till now.
    "Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook, The Wizardry Compiled

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Replies: 12
    Last Post: 05-20-2017, 05:15 AM
  2. K&M exercise 1-24
    By deckoff8 in forum C Programming
    Replies: 1
    Last Post: 12-12-2011, 10:39 PM
  3. gdb exercise!
    By MK27 in forum C Programming
    Replies: 9
    Last Post: 11-24-2008, 10:17 AM
  4. K&R Exercise 1-14
    By Lee134 in forum C Programming
    Replies: 3
    Last Post: 02-16-2006, 11:20 AM
  5. k&r exercise 1-9
    By xion in forum C Programming
    Replies: 14
    Last Post: 07-15-2003, 06:01 PM

Tags for this Thread