12 Discussion / Question Topics

Remove Filter
Member Avatar for
Member Avatar for gavriela

Hello, I'm in a beginning Java class, and I am lost :( My homework calls for me to write a program that takes an integer (of unknown length) and prints it one digit per line, like: 5 6 9 8 6 4 3 I have been googling this for hours …

Member Avatar for stultuske
0
5K
Member Avatar for Emma_3

I need to find a digit at a specific postion in a number. Example number 652796, user inputs a 4, "2" is displayed. I have the basis for it, but most of the time, the output is incorrect. Not sure what's wrong. #include <iostream> #include <cmath> using std::cout; using std::cin; …

Member Avatar for vmanes
0
1K
Member Avatar for razamughal67

I have a 2 textbox 1 text box is empty . text2 is multine true second text box have some words. text2 text Example : "12345 is my number and 03451234567ddddsfsa somethingis wrong034512345find 03451234567" .............. i want to find 03451234567 11digit number in text box with first 3 or 4 …

Member Avatar for Reverend Jim
0
315
Member Avatar for dendenny01

As for my assignment I had to write a program to swap 2 digit number Example:- If user input 12 the swaped number Would be 21. Along with ALgorithm, and a short description on this program(As how will you solve this program or what measure you'll take to get desired …

Member Avatar for mvmalderen
0
4K
Member Avatar for xcindiix

Hi everyone... im using C++ Microsoft visual studio and would appreciate if you can help me out here. Ive been trying to do this the whole day ... and canttt figure it outtt PLEASEE HELPPP !! I am a total beginner so sorry if i have very stupid mistakes. #include …

0
108
Member Avatar for AlitaMixx

Here's the problem, I was wondering if i am right to assume that when a three-digit input is entered, i.e. 123, then the string 1 will be stored to al, 2 to ah, but i'm not sure where the 3 goes, or if ever it's plain wrong to look at …

Member Avatar for GunnerInc
0
972
Member Avatar for while(!success)

Hey guys, I need help recognizing multiple digit numbers that are read so that I may push said number into a stack for future evaluation For example: 22 3 + should evaluate to 25 When I input 22 3 +, my output is evaluated to 5 Any help/criticism is welcome …

Member Avatar for WaltP
0
2K
Member Avatar for VengefulToast

Hi forum, I am just wondering how I could just use the last two digits of a four digit year the user inputs. For example, I want to drop the [19] from [1960] and just use the [60] which should be 3C in Hex so the registers would read it. …

Member Avatar for VengefulToast
0
774
Member Avatar for csterling

I have a large number of files that begin with numbers (e.g., 10admin_boundary_x) and would like to rename the files so that they do not begin with a digit (e.g., admin_boundary_x). I am working with shapefiles (.shp, .shx, .dbf, etc) and thought a python script could save me some time. …

Member Avatar for TrustyTony
0
2K
Member Avatar for naseerhaider

Hi , I've written following program that takes a four digits integer from user and shows the digits on the screen separately i.e. if user enters 7531, it displays 7,5,3,1 .Any one can tell me how it can be written better and how to display digit in linear order i.e. …

Member Avatar for mrnutty
1
2K
Member Avatar for hydersha

hey guys.. greetings to all please help me regarding my problem i want to find how many times a digit has occurred in a number. for example i have an array which consists of numbers 1011 1022 1033 number of 1's= 5 number of 2's= 2 number of 3's= 2 …

Member Avatar for jonsca
0
836
Member Avatar for Farfie

Hello. I need to write a static recursive method that returns the frequency of occurrence a particular digit d in an integer n. For example, if passed (1342457,4) it should return 2, whereas when passed (1342457,6) it should return 0. I won't put my code in as it is arbitrary, …

Member Avatar for stevelg
0
155

The End.