Posts by WeslleyAF • 53 points
11 posts
-
-1
votes1
answer99
viewsQ: Chatbot Telegram: Multiple conversations and messaging confusion
I’m making a chatbot in java on Telegram, everything flows normally, but when more than one person starts interacting with the bot, it stops working for other users, and it only works for one. I…
-
0
votes1
answer75
viewsQ: Simply Chained Linear List
My question was how to do the program without dynamic allocation, I’m learning LLSE now, and everyone I think is with dynamic allocation, but my teacher said he would only use dynamic allocation in…
-
-2
votes1
answer31
viewsQ: Error saving a File to an Array
Apparently it follows everything right in the recording inside the while, I put a printf to test, but after the loop, I did not print the vector items anymore, and I could not find the error:…
-
0
votes0
answers42
viewsQ: Read a file and transfer to a vector
In case, what would be in the file would be like this: Baidu 12 Whastapp 53 . . . and so on, it would be the name of the "app", and the number q would be the size of the "app", But I can’t read a…
-
0
votes1
answer64
viewsA: Check for repeated number and delete
I managed to make: #include <stdio.h> #include <stdlib.h> #define T 5 int main(){ int vet[T]; int vet1[T]; int i, j, n= 0; printf("Digitar os numeros:"); for(i = 0; i < T; i++) {…
-
-2
votes1
answer64
viewsQ: Check for repeated number and delete
Enter the data in VET, and then check the repeated numbers, and leave in VET1 only the numbers that are not repeated, but I’m not able to do this last part at all, follow the code I’ve done so far:…
-
2
votes1
answer198
viewsQ: Error in one of the program functions calculating a factor
I can’t fix the error of the last "factorial" function, which in this case would be the factorial at the bottom of this calculation: Program: #include <stdio.h> #include <conio.h> double…
-
0
votes1
answer69
viewsA: Print student grades in a matrix
I managed to do, I put the new vector after the question loop.... #include <stdio.h> #define QUANT 10 #define estudantes 20 int main() { char gabP[QUANT]; int resultado[estudantes]; int i;…
-
0
votes1
answer69
viewsQ: Print student grades in a matrix
I wanted to print all the notes at the end of the program, but I’m not getting it. Ex: Aluno 1: Nota 2 Aluno 2: Nota 4 etc... #include <stdio.h> #define resp 3 #define nota_aluno 3 int main()…
-
3
votes1
answer1348
viewsQ: Evaluate ascending order with repeating structure
Write a program to determine if a sequence of n numbers entered by the user is in ascending order or not. The user must provide how many numbers will be typed, ie the value of n. I’m having trouble…
-
0
votes1
answer53
viewsQ: How to decrease, except a number of the other value?
In the final value was to have the total of notes greater than 7, another condition would be that the user has to enter a number between 0 and 10, then any number outside of it would give "invalid…