1304 questions
#include <stdio.h>#include <math.h>int main(void){ double x,y; printf(Please enter x and y : ); scanf(%lf %lf, &x, &y); long double z = ((x + sqrt(x*x+y*y))/2.0); printf(The value ...
I'm writing because I'm trying to solve an algorithm problem and I don't know how to approach itWhen there are N coins in the bag, each coin has a value from 1 to M (M > = N).Some coins can have th...
int main(void){ int i = 0; int arr[10] = { 0 }; int j; int temp;while (i < 10){ printf(Enter an integer %d >, i); scanf_s(%d, &arr[i]); for (j = 0; j < i; j++); if (arr[i] == arr[j]) { p...
int location(int low,int high);int main(void) {int n, num, x, i = 0;//int arr[3];//printf (Please enter in order);//for (i = 0; i < 3; i++) {// // scanf(%d, arr[i]);//}printf (Please enter a number...
I want to show you the screen differently when I connect to PC and mobile. How about css,js? Do you want me to use only one html file and show it according to the conditions or do you want me to make ...
#include <string.h>#include <stdio.h>#include <stdlib.h>int main(void){ char str1[10]; char str2[10]; char str3[10]; int num1, res; char *ps1 = str1; char *ps2 = str2; char *ps3 = st...
Hello, I am a student who is studying for MFC.Get the Gps value and display it on the screen (map)We're going to make a program that draws the distance we've movedSince it has to be done in an area wh...
For example, when running a program called p1, ./p1 < file_name.txtI want to write a program to get the file name and process it after typing it like thisSkip < file_name.txt and enter argv from...
« | - 74 - | » |
© 2024 OneMinuteCode. All rights reserved.