This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// This code is ready to run in https://dotnetfiddle.net/ | |
// Message parser: https://neapay.com/online-tools/iso8583-message-parser.html | |
using System; | |
public class Program | |
{ | |
public static void Main() | |
{ | |
var mBytes = new byte[] {0,23,0,0,8,0,32,0,1,0,0,128,0,0,153,0,0,0,7,51,51,51,51,51,51,51,51}; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.Collections.Generic; | |
using System.Web; | |
using System.Web.Mvc; | |
using System.Web.Optimization; | |
using System.Web.Routing; | |
using Microsoft.Extensions.DependencyInjection; | |
using WebApplication16; | |
using WebApplication16.Controllers; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#region Instructions | |
/* | |
* You are tasked with writing an algorithm that determines the value of a used car, | |
* given several factors. | |
* | |
* AGE: Given the number of months of how old the car is, reduce its value one-half | |
* (0.5) percent. | |
* After 10 years, it's value cannot be reduced further by age. This is not | |
* cumulative. | |
* |