Posts by natalia • 23 points
6 posts
-
-1
votes1
answer45
viewsQ: Percentage calculation
Can anyone tell me if I’m calculating the right percentage? 13. Um dado é lançado 50 vezes, sendo anotado o valor correspondente a cada jogada. Faça um programa para: (a) anotar os valores de todas…
-
-1
votes1
answer29
viewsQ: print out non-repeated values
good evening, I am developing a question, it is almost complete, being able to delete repeated values sequentially, for example: 1 1 2 3 4 5 1, as it excludes 1 and 1 and leaves only 2 3 4 5 1,…
-
-1
votes1
answer36
viewsQ: displacement of all values of the elements to the next position, last value must be in the first position
Good afternoon, can anyone help me develop that question? (c) rotation of the elements of the vector, with the displacement of all values of the elements for the next position, except the last…
-
0
votes0
answers28
viewsQ: what the expression means:
Can anyone tell me what this part of the code means? (sorry for the redundancy, had asked the same question in another post of mine and was not answered). I’m still a layperson at c and normally I…
-
0
votes1
answer76
viewsQ: a program that reads 30 pairs of integer values, storing the smallest value in a variable x and the largest in y
someone can help me develop this problem? Present a program that reads 30 pairs of integer values, storing the lowest value in a variable x and the highest in y, and for each pair of values,…
-
1
votes1
answer50
viewsQ: char returns invalid typed number as option
opa good afternoon, I am developing a menu in which the option typed is a char, the same returns the default correctly after typing a letter, however, my switch has 7 case options ('1',…