File size: 536 Bytes
f91a684 | 1 2 3 4 5 6 7 8 9 10 11 | import { parseAptitudeContent } from './src/components/AptitudeContentPage';
const text = `Q1. What were the total sales in 2020?
Statement 1: Q3 sales in 2020 were ₹35 lakhs.
Statement 2: Total sales in 2021 were ₹140 lakhs.
A) Statement 1 alone B) Statement 2 alone C) Both together D) Either alone E) Neither
Answer: A) Statement 1 alone
Explanation: 2020 total = 25+30+Q3+20. With Q3=35 → total=110. St1 alone sufficient. Answer A.`;
const res = parseAptitudeContent(text);
console.log(JSON.stringify(res, null, 2));
|