Answered Questions

  • C Armstrong Number and multiple coding questions

    Q1. write a program to find a given number is armstrong number or not ?Q2write a program which accepts a filename as a command line argument and reverse the contents of the file(i.e first character becomes the last character of the file and so on ?Q3 how can i call a function given its name as a string ?Q4 How to swap low-order byte and high order byte in an integer without using temporary variable?Q5...

    khadar.ali

    • Sep 7th, 2011

    A program to accept a number and find how many digits it contain

    //
    declare
    a number:=&a;
    v_le number;
    begin
    select length (a) into v_le from dual;
    dbms_output.put_line('the no of digits is '||v_le);
    end;
    //

    Trinesh Baliga

    • Jul 19th, 2011

    This Program will Print the Armstrong Numbers between 1 to 500 "c# class Program { static void Main(string[] args) { int[] number=new...