English Français Solution English Write a C program that reads two integers and displays the largest of them Français Ecrire un programme C qui lit deux entiers est affiche le plus grand d’entre eux. Solution #include<stdio.h> #include<stdlib.h> #include<math.h> int main() …
English Français Solution English Write a program C which reads two real numbers R1 and R2 which represent the radii of two concentric circles, and then returns the area of the surface between the two circles (gray surface). Note: R1 …
English Français Solution English Write a C program that reads an alphabetic character between ‘a’ and ‘y’ as input, which can be either upper or lower case. And displays the letter that comes right after it in alphabetical order. Français …
English Français Solution English Write a C program that reads three integers as input and displays their average with a precision of two digits after the decimal point. Français Ecrire un programme C qui lit en entrée trois entiers et …
English Français Solution English Write a C program which allows to swap the contents of two integer variables by passing through a third auxiliary variable. Print the value of the two variables before and after permutation. Français Ecrire un programme …
English Français Solution English Write a program C which allows to read as input an integer made up of three digits and to display this one reversed. Example: if the entry is 123 on poster 321. Français Ecrire un programme …
English Français Solution English Complete the following table with the word “Accepted” or “Not accepted”. This table contains possible variable names in C language. Français Compléter le tableau par le mot “Accepté” ou “Pas accepté”. Le tableau vous propose une …
English Français Solution English Write a C prorgram that prints the message: Hello Français Ecrire un programme C qui permet d’afficher le message suivant: Hello. Solution #include <stdio.h> #include <stdlib.h> int main() { printf(“Hello”); return 0; }
English Français Solution English Write a C program that uses the concept of a pointer to read two integers and calculate their sum. Français Ecrire un programme C qui utilise la notion de pointeur pour lire deux entiers et calculer …
English Français Solution English Write a program that reads an integer X and an array A of type int on the keyboard and eliminates all occurrences of X in A by compacting the remaining elements. The program will use pointers …