User Profile

Collapse

Profile Sidebar

Collapse
isabelle
isabelle
Last Activity: Aug 19 '07, 10:59 PM
Joined: Dec 3 '06
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • hi...

    where your replies??

    I am really need help!!

    please, help me??

    thanks all
    See more | Go to post

    Leave a comment:


  • The code for first program AND the other program like the first one BUT the algorithm(inden tation )is different and we must use the break statement :

    Code:
    #include<iostream>
    #include<fstream>
    using namespace std;
    int main( )
    {
    int count=0;
    char letter;
    
    ifstream infile;
    infile .open("Input.txt");
    if(! infile)
    {
    cout<<"cannot
    ...
    See more | Go to post

    Leave a comment:


  • Count number of occurrences of a character and search it in a file..

    hi, every body..

    I have two program I couldn’t solve them
    So, can any body help me. please!!


    1-Write a program that accepts a character and count number of occurrences in a file.
    The file should have some text, and the program count how many times the inputted character repeated in the file and prints the result on the screen.
    (Hint: you have to use continue statement in your solution )
    ...
    See more | Go to post

  • isabelle
    replied to help me in this program....
    in C
    Thanks all..

    and; if any one have another indentation for this, I will be grateful.

    Thanks again..
    See more | Go to post

    Leave a comment:


  • isabelle
    replied to help me in this program....
    in C
    when I input this:

    inData.txt:
    12345

    I get this:

    outData.txt:
    Number: 12345
    Number in reverse Order:0
    Summation of Digits: 1

    But , the outData should be like this:

    outData.txt:
    Number: 12345
    Number in reverse Order:54321
    Summation of Digits: 15...
    See more | Go to post

    Leave a comment:


  • isabelle
    started a topic help me in this program....
    in C

    help me in this program....

    help me in this program....

    Write a program that prompt the user ti input an integer and then outputs the
    numbers with digits reversed. for example, if the input is 12345 the output should be 54321. Your program should find the summation of all digits, for previous example the summation will be 15.

    this is my solution.. but. I think.. its not correct..

    [CODE=cpp]
    #include <iostream>...
    See more | Go to post

  • isabelle
    replied to Check this program for me. please!!
    in C
    thanks for every body who write a reply
    See more | Go to post

    Leave a comment:


  • isabelle
    started a topic Check this program for me. please!!
    in C

    Check this program for me. please!!

    Hello...

    How are you every body?

    I want from you to check this program..

    *************** *************** *************** *****
    Suppose that the file inData.txt contains the following data:
    Sarah AlSammak alahliunitedban k bh

    Write a C++ program that read from the inData file the first string as a first name, the second string as a last name, the third string as a company name and...
    See more | Go to post
    Last edited by sicarie; Jul 18 '07, 01:22 PM. Reason: Code tags

  • isabelle
    replied to help me in this program. please!!
    in C
    yes , I know how to convert a hex value into a decimal value but I don’t know how to writ this in a program.
    but I think that we must use switch statement.. If we ..how must the program will be like?

    can you explain for me..

    {thanks a lot}...
    See more | Go to post

    Leave a comment:


  • isabelle
    started a topic help me in this program. please!!
    in C

    help me in this program. please!!

    hi, every body..

    help me in this program. please!!

    write a c++ program that converts hexadecimal digit to its corresponding decimal value.

    input/output:
    Enter a hexadecimal digit :A
    The corresponding decimal value:10

    can any body help me!!
    .
    .
    .
    I’m waiting??
    See more | Go to post

  • isabelle
    replied to Who can help me in this program?
    in C
    Think you for your help,This great!

    And any body has another solution I will be grateful.
    See more | Go to post

    Leave a comment:


  • isabelle
    started a topic Who can help me in this program?
    in C

    Who can help me in this program?

    Let n=akak-1ak-2…a1a0 be an integer and t=a0-a2-…+ (-1) k. It is known that n is divisible by 11 if and only if t is divisible by 11.for example, suppose that n=8784204.then t=4-0+2-4+8-7+8=11.because 11 is divisible by 11, it follows that 8784204 is divisible by 11.If n= 54063297, then t=7-9+2-3+6-0+4-5=2.because 2 is not divisible by 11, 54063297 is not divisible by 11.Write a program that prompts the user to enter a positive integer and then...
    See more | Go to post

  • isabelle
    started a topic I want a hlep to write this program
    in C

    I want a hlep to write this program

    1-Write a program that prompts the user to input an integer and then outputs both the individual digits of the number and the sum of the digits. For example, it should output the individual digits of 3456 as 3 4 5 6, output the individual digits of -2345 as 2 3 4 5.
    I see this program in this site and no body reply it, am really need the solution of it because this question is in my assignment.
    please help me?
    See more | Go to post
No activity results to display
Show More
Working...