All Questions

19771 questions


1 answers
322 views
0
Problem of implementing the addition of polynomials using structures

#include <stdio.h>#define MAX(a,b) ((a>b) ? a : b)#define MAX_DEGREE 101typedef struct { int degree; int coef[MAX_DEGREE];} } polynomial;polynomial poly_add(polynomial A, polynomial B) { poly...

1 years ago

1 answers
382 views
0
Java odd or even summing program questions

Q. Write a method to find the sum of odd or even numbers from 1 to 100.ConditionsIt's easy to conditionalize the sum of odd and even numbers, but I don't know how to use Boolean parameters.. What shou...

1 years ago

1 answers
360 views
0
Python Simple Star Drawing Question

I understand that you draw stars on the Python diagonal using x==y, x==-y, but on the contrary, I don't know how to draw stars on the rest except for the diagonal. Please help me. It's 300 years wide ...

1 years ago

1 answers
368 views
0
c Language rhombus output program

I have to print out the diamond as it is on that red square screen, but I can't find a solution. I don't know how to organize the code, so I ask. Please also upload the pictures on the screen. https:/...

c
1 years ago

1 answers
388 views
0
Implement get_average_score function using Python variable *

The function get_avergae_score() is a function that returns the number of subjects entered and the average test score after receiving a test score for a subject using a variable * and I wonder what co...

1 years ago

1 answers
327 views
0
Implement get_average_score function using Python variable *

The function get_avergae_score() is a function that returns the number of subjects entered and the average test score after receiving a test score for a subject using a variable * and I wonder what co...

1 years ago

1 answers
321 views
0
I don't know how to use int&x in the C language header file.

I would like to obtain the minimum value, maximum value, sum, mean, variance, and standard deviation of the array in the source.c file from BigArray.c and forward it to source.c.I understand that you ...

c
1 years ago

0 answers
396 views
0
Determine if the object is on the right or left

I'd like to ask how to determine if an object is on the right or left based on the direction the player is looking at in Roblox.

1 years ago

1 answers
295 views
0
Python Repeated Output

for year in range(1943,1945): for month in range(1, 13): # Calculate the last day of each month if month in [1, 3, 5, 7, 8, 10, 12]: last_day = 31 elif month == 2: last_day = 29 else: last_day...

1 years ago

1 answers
226 views
0
Draw bar graphs and line graphs with matplotlib

Hello, everyone,I still don't understand how to use Pandas data frame, so I'm asking you even though it's a simple code. Thank you in advance.You want to recall the following table and draw a graph.Th...

« - 3 - »

© 2024 OneMinuteCode. All rights reserved.