I need a programer

Përfunduar Postuar 3 vite mё parё Paguhet në dorëzim
Përfunduar Paguhet në dorëzim

To help you understand how to write basic programs using arrays,

Please write a 'C' program that will have the following features:

1. Declare an array of ints (size 100) and fill it with random

numbers within the range of 1 (include 1) to 1000. You will

just use a 'for' loop, and inside the 'for' loop, draw a random

number and put it in the element of the array indexed by the

loop control variable.

2. Prompt the user for their first name and then ask them, by name,

to enter a number to look for. Use the code on page 135 to loop

through the array to see if the user's selection is in the array.

3. While you are going through the array, also look for the biggest

and smallest number.

The way to look for the largest value is to set a variable (I

suggest: int largest=0;) and then check each value in the array

with an 'if' statement and see if it is more than the current

value of 'largest'. If it is, then set largest with that value.

Do the same thing with 'smallest', only set it to 1000 at the

beginning.

4. Finally, write out the person's name, if their number was found,

the biggest number in the array, and the smallest.

5. Here is some Bonus material and worth Extra Credit!

If you declare your variables (including arrays)

above the statement for 'main', they

become 'Globally' available and can be seen by any function that

follows.

This is a great way to avoid using return/parameter lists to

share variables among functions.

Write your program with 'main' and 2 or more functions

that use the global variables and you will get 5 points per function

(max 15 points).

CODE FOUND IN PAGE 135:

The concept of searching an array is demonstrated in the next program, which prompts a user toenter a numeric search value:

#include <stdio.h>

int main()

{

int x;

int iValue;

int iFound = -1;

int iArray[5];

for ( x = 0; x < 5; x++ )

iArray[x] = (x + x); //initialize array

printf("\nEnter value to search for: ");

scanf("%d", &iValue);

for ( x = 0; x < 5; x++ ) {

if ( iArray[x] == iValue ) {

iFound = x;

break;

}

} //end for loop

if ( iFound > -1 )

printf("\nI found your search value in element %d\n", iFound);

else

printf("\nSorry, your search value was not found\n");

return 0;

} //end main

Programim C

ID Projekti: #29911652

Rreth projektit

8 propozimet Projekti në distancë Aktiv 3 vite mё parё

Është zgjedhur fitues:

mirzaahamza

Heyy I am C coder and I have experience of more than 5years.I have read your description and would like to work for you.I have already implemented many algorithms and developed many games and management systems using o Më shumë

$10 USD për 1 ditë
(22 Përshtypje)
4.0

8 profesionistë freelancer dërguan një ofertë mesatare prej $36 për këtë punë

usmanshery

Hello. I am interested in your task. I have 4+ years of C/CPP programming. i have the requirements fully and i can deliver the task quickly. Message me if you are interested. Regards

$30 USD për 7 ditë
(74 Përshtypje)
5.6
danilamakarov01

Dear, sir. I am a software engineer. I just read your requirement, and I am ready for you now. Thank you!

$20 USD për 7 ditë
(34 Përshtypje)
5.1
harissheikh255

Hello, I will do simplest coding in C++, C using OOP, data structures concepts. If it is an assignment then coding will be easily understandable for u. I have done many C/C++ works here. Lets have a chat for further de Më shumë

$20 USD për 1 ditë
(55 Përshtypje)
5.3
shabih2468

Greetings I saw your project and as an expert in C/C++ language I am sure I can do your task. I have previously worked on various C projects which includes making games, management systems projects and C is my primary Më shumë

$20 USD për 1 ditë
(32 Përshtypje)
4.7
Muhammadsamran

Hello Sir/ Ma’am A skilled full stack developer, I have rich experience in JAVA,C, C++, C#, Python, .NET , MYSQL, SQL, IONIC , MATLAB, ANDROID,PHP and ARDUINO. I am very confident with my skills and I'd like to hel Më shumë

$20 USD për 1 ditë
(15 Përshtypje)
4.6
Paulzwork

Hello, Hi.. I can help you writing the C code as per your requirement. I'm an IIT CSE student having good skills in python C and c++. let me know if you're interested

$20 USD për 1 ditë
(6 Përshtypje)
2.7
braincenter

Hello, Hope this message finds you well, I checked your details and I believe that my experience is what you are looking 4. I have been working on similar projects for the past eight years, and I have the essential sk Më shumë

$150 USD për 7 ditë
(4 Përshtypje)
3.0