Search:

Type: Posts; User: aquari

Search: Search took 0.01 seconds.

  1. Thread: ispunct

    by aquari
    Replies
    6
    Views
    1,474

    ispunct

    Hello,

    I'm having a bit issue with ispunct in my function. The user can input a phone number in any of the formats below:

    4147778888
    (414)7778888
    (414)777-8888

    The program will only print...
  2. Replies
    5
    Views
    1,860

    I went with Salem suggestion and it works....

    I went with Salem suggestion and it works. Thanks. Now the issue I am having is that the distance prints the same number for each airport distance. My output looks like this:

    SFO to SEA = 670.52...
  3. Replies
    5
    Views
    1,860

    Sorry about that. Totally should've included the...

    Sorry about that. Totally should've included the Haversine formula. Here it is:


    const double PI = 3.14159;

    double Radians(double value)
    {
    double radians = value * PI / 180.0;
    return...
  4. Replies
    5
    Views
    1,860

    Need assistance with Structures.

    Hello,

    I'm working on a lab assignment and in need of assistance related to Structures. The next step I am trying to figure out is how to calculate the distance from one airport (SFO) to all other...
Results 1 to 4 of 4