Find Jobs
Hire Freelancers

C++ using struct

$30-250 USD

Ukończony
Opublikowano ponad 11 lat temu

$30-250 USD

Płatne przy odbiorze
Write a program, [login to view URL], that uses a struct called block which has three fields: 1. An integer rows 2. An integer cols 3. An character letter A block will be declared and initialized in main. The program should repeatedly read one of the following commands until a q is entered: r: Change the number of rows in the block c: Change the number of columns in the block l: Change the letter in the block a: Change the letter in the block based on an ASCII value p: Print the block in two dimensional format If an illegal command is entered, the program should print an appropriate error message. You are required to write the following six functions: // initializes the block to 4 rows, 4 columns and the // letter * void init_block (block& b); // prompts for and reads a number of rows from the user // and assigns that number of rows to the block void change_rows (block& b); // prompts for and reads a number of columns from // the user and assigns that number of columns to the // block void change_cols (block& b); // prompts for and reads the ASCII value of a character // from the user and sets the letter in the block to // that character void change_ascii (block& b); // prompts for and reads a letter from // the user and assigns that letter to the // block void change_letter (block& b); // prints the block in two dimensional format with a // label void print (block b); The following page shows a sample run of the program (user input in bold). Your program should use the same output formatting.
Identyfikator projektu: 2539206

Informację o projekcie

9 ofert
Zdalny projekt
Aktywny 12 lat temu

Szukasz sposobu na zarobienie pieniędzy?

Korzyści ze składania ofert na Freelancer.com

Ustal budżet i ramy czasowe
Otrzymuj wynagrodzenie za swoją pracę
Przedstaw swoją propozycję
Rejestracja i składanie ofert jest bezpłatne
Przyznano:
Awatar Użytkownika
I'll help to do it!
$30 USD w 1 dzień
0,0 (0 opinii)
0,0
0,0
9 freelancerzy składają oferty o średniej wysokości $54 USD dla tej pracy
Awatar Użytkownika
Expert C/C++ developer. Available to start immediately and finish within a hour. Best regards, Zeke
$30 USD w 0 dzień
4,7 (149 opinii)
6,9
6,9
Awatar Użytkownika
Hi, I am C++ expert and can surely help you here, Thanks
$30 USD w 1 dzień
4,9 (45 opinii)
5,7
5,7
Awatar Użytkownika
Hi, kindly check your inbox for my inquiries. Thanks.
$30 USD w 0 dzień
4,9 (69 opinii)
5,4
5,4
Awatar Użytkownika
Gladly at your service!
$30 USD w 0 dzień
5,0 (1 opinia)
3,9
3,9
Awatar Użytkownika
We can start now !
$30 USD w 1 dzień
5,0 (4 opinii)
3,0
3,0
Awatar Użytkownika
hi! A professional developer is here. Please see PM. Thanks!
$30 USD w 0 dzień
5,0 (7 opinii)
3,0
3,0
Awatar Użytkownika
Hello sir. I understand what you want, and I am ready to do this job
$30 USD w 1 dzień
5,0 (4 opinii)
2,3
2,3

O kliencie

Flaga UNITED STATES
Buffalo, United States
5,0
1
Zweryfikowana metoda płatności
Członek od wrz 9, 2012

Weryfikacja Klienta

Dziękujemy! Przesłaliśmy Ci e-mailem link do odebrania darmowego bonusu.
Coś poszło nie tak podczas wysyłania wiadomości e-mail. Proszę spróbować ponownie.
Zarejestrowani Użytkownicy Całkowita Liczba Opublikowanych Projektów
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Wczytywanie podglądu
Udzielono pozwolenia na Geolokalizację.
Twoja sesja logowania wygasła i zostałeś wylogowany. Proszę, zalogować się ponownie.