Posts by Rhuan • 38 points
3 posts
-
0
votes3
answers59
viewsA: How to create a function that divides two numbers into C?
include int f_divisao(float num1, float num2) /** function creation **/ { float result; result=num1/num2; printf("VALOR DA DIVISÃO DE %f / %f EH: %.2f\n",num1,num2,resultado); /** saida de dados **/…
-
1
votes2
answers52
viewsQ: How do I display the values of a matrix one to one in C? example: line 1: 1.2 line 2: 3.4 line 3: 5.6 " " " " " " " """
example: linha 1: 1,2 linha 2: 3,4 linha 3: 5,6 " " " " " " " " " " follow what I’ve done so far: #include <stdio.h> #include <math.h> #define max 50 int main() { int…
-
-5
votes2
answers1330
viewsQ: How to show the number that most appears in a vector in the C language?
Given a sequence of N numbers between 0 and 100. Determine the highest frequency value. Follow what I’ve done so far: #include <stdio.h> #define max 100 int main() { int…