maroonlol
maroonlol
CC#
Created by maroonlol on 12/23/2023 in #help
✅ Solve please delete this post
I have made my console application to calculate the project duration, the earliest start time and the latest start time Project Duration✅ Earliest Start Time✅ Latest Start Time❌ - Partially works Link to code - https://github.com/AbdulRaheemNazir/CPM/blob/main/Program.cs ================================================================================================================================================= V9 is equal to 18 as total project duration then to calculate the activity leading form and too latest finish time for V1..V4 we would have to go backwards through this path: V9->V8->V6->V4->V1 = 4+4+2+5 =15 If we do the calculation 18-15 it should give 3 as the latest finish time for V1..V4 but my output gives me 1 ------------------------------------------------------------------------------------ V1..V3 we would have to go backwards through either these paths: V9->V8->V5->V3->V1 = 4+7+1+4 =16 V9->V7->V5->V3->V1 = 2+9+1+4 =16 Since we have 2 paths we see which one is the longest duration but since we have the same we can just use 16. If we do the calculation 18-16 it should give 2 as the latest finish time for V1..V3 but my output gives me 1 ------------------------------------------------------------------------------------ V1..V2 we would have to go backwards through either these paths: V9->V8->V5->V2->V1 = 4+7+1+6 =18 V9->V7->V5->V2->V1 = 2+9+1+6 = 18 Since we have 2 paths we see which one is the longest duration but since we have the same we can just use 18. If we do the calculation 18-18 it should give 0 as the latest finish time for V1..V2 but my output gives me 1 ================================================================================================================================================= Only V1..V2, V1..V3 AND V1..V4 have this issue the latest Start time is calculates=d correctly for the rest
62 replies
CC#
Created by maroonlol on 12/21/2023 in #help
Critical Path Method - Issue with Latest Start Times
I have made my program to calculate the project duration, the earliest start time and the latest start time Project Duration✅ Earliest Start Time✅ Latest Start Time❌ - Partially works Link to code - https://github.com/AbdulRaheemNazir/CPM/blob/main/Program.cs ================================================================================================================================================= V9 is equal to 18 as total project duration then to calculate the activity leading form and too latest finish time for V1..V4 we would have to go backwards through this path: V9->V8->V6->V4->V1 = 4+4+2+5 =15 If we do the calculation 18-15 it should give 3 as the latest finish time for V1..V4 but my output gives me 1 ------------------------------------------------------------------------------------ V1..V3 we would have to go backwards through either these paths: V9->V8->V5->V3->V1 = 4+7+1+4 =16 V9->V7->V5->V3->V1 = 2+9+1+4 =16 Since we have 2 paths we see which one is the longest duration but since we have the same we can just use 16. If we do the calculation 18-16 it should give 2 as the latest finish time for V1..V3 but my output gives me 1 ------------------------------------------------------------------------------------ V1..V2 we would have to go backwards through either these paths: V9->V8->V5->V2->V1 = 4+7+1+6 =18 V9->V7->V5->V2->V1 = 2+9+1+6 = 18 Since we have 2 paths we see which one is the longest duration but since we have the same we can just use 18. If we do the calculation 18-18 it should give 0 as the latest finish time for V1..V2 but my output gives me 1 ================================================================================================================================================= Only V1..V2, V1..V3 AND V1..V4 have this issue the latest Start time is calculates=d correctly for the rest
4 replies
CC#
Created by maroonlol on 11/12/2022 in #help
❔ Invalid input in memu
Here is the updated code, how would i make it if the user enters a invalid input it will show the menu again and say it is a invalid input
7 replies
CC#
Created by maroonlol on 11/11/2022 in #help
My code is stuck in a infinity loop [Answered]
https://github.com/AbdulRaheemNazir/MiniApps/blob/main/Just%20need%20random%20Symbol When I try to run it runs infinitly it was working fine untill i started making it to use random plus or minus operations
10 replies
CC#
Created by maroonlol on 11/11/2022 in #help
My code is stuck in a infinity loop
https://github.com/AbdulRaheemNazir/MiniApps/blob/main/Just%20need%20random%20Symbol When I try to run it runs infinitly it was working fine untill i started making it to use random plus or minus operations
7 replies
CC#
Created by maroonlol on 11/10/2022 in #help
❔ My code repeats my menu everytime a invalid character is added - i want to display a error message
3 replies
CC#
Created by maroonlol on 11/10/2022 in #help
Solved
21 replies
CC#
Created by maroonlol on 11/5/2022 in #help
My code works - but is shows invalid string at the beggening for no reason
7 replies
CC#
Created by maroonlol on 11/4/2022 in #help
Caesar Cipher Program - Display 'Invalid String' if the user enters a non-alphabetical character
67 replies
CC#
Created by maroonlol on 10/28/2022 in #help
System.FormatException 'Input string was not in a correct format.' - Correct format is entered
9 replies
CC#
Created by maroonlol on 10/25/2022 in #help
I have a problem with running my code and I'm unsure if it is Visual Studio or my Code
27 replies
CC#
Created by maroonlol on 10/6/2022 in #help
Hi, I'm having a error in my code in Visual studio and I'm writing with C
36 replies