scanf tag

16 questions


1 answers
81 views
0
This is a simple question about a program that receives five C language characters and determines whether they are uppercase, lowercase, or English characters.

Hello, I'm working on a program to determine if it's a capital letter, a lowercase letter, or an English letter by typing 5 characters, but when I try to repeat it with a for sentence, it keeps saying...

2 years ago

1 answers
77 views
0
scanf output error

#include<stdio.h>int main() { int n; scanf(%d,&n); printf(%d,n); return 0;}I don't think there's a problem with the code, but it keeps printing.Severity code descriptionProject file line dis...

2 years ago

1 answers
79 views
0
To receive a C date range

Don't you use the scanf function when you're making a calendar program and you want to enter a range?If you enter a range like 2021.05.24-2021.08.09, you want to print out a calendar suitable for the ...

2 years ago

1 answers
121 views
0
C Simple example Example of finding the time it takes to double the principal with compound interest. While the door is weird.

int years = 0;double rate, investment;printf (Principal :);scanf(%f, &investment);printf (Rate :);scanf(%f, &rate);double total = investment;while (total < investment * 2){ total = total * ...

2 years ago

1 answers
136 views
0
c++ novice scanf_s C6066, C6273, C6328 error question

Sorry for the incorrect title. I don't know what to say about the topic.#include <iostream>using namespace std;int main() { cout << Copy the word 'two' as it is entered. Just use two words...

2 years ago

1 answers
95 views
0
c language basics scanf C4996 scanf maybe unsafe

It's a basic code, but I don't know why there's an error ㅜㅜ/

2 years ago
« - 2 -

© 2024 OneMinuteCode. All rights reserved.