Questions tagged [letter]

a character representing one or more of the sounds used in speech; any of the symbols of an alphabet.

448 questions
-2
votes
1 answer

How to replace each letters in multiple words

I have an array like this : input = ["one", "two", "three", "four", "five", "six", "seven", "eight", "nine" "thirteen","fourteen","fifteen","sixteen","seventeen","eighteen","nineteen"] i would like output = ["thirty", "forty", "sixty",…
newuser
  • 67
  • 3
  • 8
-3
votes
1 answer

could I ask how does this work (printing big text in c++)

what does this call is it printing ASCII art and how can I know those numbers present those texts void Menu::printLogo() { unsigned char logo[] =…
-3
votes
3 answers

Write a program that takes a character as input (string length 1) the output is the next character in the alphabet. If input is 'Z', output is 'A'

Write a program that takes a character as input (a string of length 1), which you should assume is an upper-case character; the output should be the next character in the alphabet. If the input is 'Z', your output should be 'A'. Here's what i've…
Ada
  • 9
  • 1
  • 3
-3
votes
1 answer

Greek lower case letters python

How can we use Greek lower case letters in python:(or unicode symbols in engineering) Like this image: As I know β and etc... is like other English letters. I though it was a special letter, that I can not write like others, because there isn't in…
vahid vhr
  • 5
  • 4
-3
votes
1 answer

Three Sets of Doubles

I'm writing a program where I am given a file called words.txt. It has every single word in it, and it starts out as "aa aah aahed aahing aahs . . ." Using the file, I'm supposed to run through it and find all the words that have three sets of…
-3
votes
1 answer

How to count how many times a certain letter is input into c#

I am trying to figure out how to count how many times someone enters one of three letters so I can then display the count. I am trying to do this in c# visual studio. for example if someone has to register into a sport where R = running, C = cricket…
-3
votes
1 answer

Java: Counting 'a' in char array, counter wrong value

public static void main(String[] args) { int count = 0; char[] array = {'а', 'g', 'r', 'e', 'r', 's', 'a', 'х', 'ј', 'a'}; //char[] array = {'p', 'a', 'а', 'a', 'a', 'a', 'a', 'a', 'a', 'a', 'а'}; //char[] array = {'a', 'b', 'b',…
-3
votes
1 answer

java - The method replace(char, char) is undefined for the type Scanner

This is my code: https://gyazo.com/8bf55245851665b91d482859b6413a75 I want to replace the first letter of the first word with the first letter of the second word but the replace tool won't work?
Mohanad
  • 71
  • 10
-3
votes
2 answers

Java checking if string contains certain letters with a certain range with contains or equals method

import.java.util.Scanner; public class Test{ public static void main(String[] args){ Scanner sc = new Scanner(System.in) String operation = sc.nextLine(); } } When I want to see, if the string operation contains certain letters, I…
NotEinstein
  • 147
  • 1
  • 7
-3
votes
1 answer

Declaration of a variable

I am new in C programming language and I have a question related to a variable: float a=12.34f; What does "f" stand for? I tried to see what happens if I remove the letter, but I couldn't find anything. The output is the same.
-3
votes
2 answers

PHP- Print a String letter by letter in HTML-form Vertically

I want to print these letters in a HTML-form vertically, now it's in horizontal form.
Salk
  • 1
  • 3
-3
votes
2 answers

JavaScript text changing over time back and forth (ex.:1,2,3,2,1,2,3,2,1,2,3...)

I need a JS to change a word three times every second, I found many info about it but I can't find out how to make it reversible... Basically I need this frame setting 1>2>3>2>1>2>3>2>1 and so on. Edit: Maybe my talking with numbers wasn't very…
user4334199
-3
votes
2 answers

I need to get the letter from a word

I tried this code but at the for loop it seems to do nothing. #include #include void main() { char word[100]; char suf [100]; int i,j,k = 0; char a [100]; printf("Enter the word: \n"); gets(word); …
-4
votes
2 answers

How can I print letters down below

I don't know how can I program this. I tried to do it but I know only opposite direction. This is what I program
ado
  • 5
  • 4
-4
votes
3 answers

Python change lowercase to uppercase

I need help with python program. I don't know how to make python change at least 1 lowercase letter to uppercase. from random import * import random pin="" lenght=random.randrange(8,15) for i in range(lenght): …
ado
  • 5
  • 4
1 2 3
29
30