223 questions
package assignment2;import java.util.Scanner;import java.util.Arrays;public class assign3 { public static void main(String[] args) { int n; int m; Scanner scan = new Scanner(System.in); System.out...
I want to save five strings in a text file in a char pointer array.Current code.This is the output screen.
Current code.The appearance stored in the text file.When you try to save a string in a text file to a string array How should I give the size of the string out of 1 or 5?
string strTest = Hello; has a size of 5 charTest[] = {'H', 'e', 'l', 'l', 'o'}; has a size of 5.What is the difference between string and char[]?
I'm coding with Python. Hong Gil-dong 1,200,000 won, Lim Kkeok-jeong 3,000,000 won, and Jang Gil-san 6,000,000 won only the amount that appears in the string divided by half Honggil-dong KRW 600,000, ...
#define _CRT_SECURE_NO_WARNINGS#include <stdio.h>#include <string.h>int main(void){char *src = aaabbb;char* output=a;char eng[26] = { 0 }; char string[10] = { 0 };for (int i = 'a'; i <=...
p0Y123!@#I don't know how to count lowercase, uppercase, number, and special characters in the THon string data.
When outputting a string with the split function as 1,2,3,4,5 Day = 1This = 23 = 3 G = 4 Oh = 5What should I do if I want to print it out like this
If you just slice based on certain characters, those characters don't appear, but only the words are cut off and stored in the list. For exampleHello, world. If you slice it according to ,[Hello, worl...
I'm trying to cut strings one by one and put them on the list, but I keep getting errors. I'd appreciate it if you could tell me what the problem is.string = Hello World!list = []for i in string: lis...
« | - 21 - | » |
© 2024 OneMinuteCode. All rights reserved.